]> AND Private Git Repository - these_gilles.git/blob - DOCS/Scalable and Interactive Segmentation and Visualization of Neural Processes in EM Datasets_files/jig.min.js
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
v1.2 19 décembre
[these_gilles.git] / DOCS / Scalable and Interactive Segmentation and Visualization of Neural Processes in EM Datasets_files / jig.min.js
1 (function(){function Ka(){var i=null,j=jQuery.cookie("WebCubbyUser");if(j)if(j.indexOf("logged-in=true")>-1)if(j=j.match(/my-name=([^;]+)/i))i=j[1];return i}function W(i){this.name=this.selector="";this.onPage=false;this.dependsOn=[];this.interactions=[];this.overrideDefaults={};this.addCss=function(){document.write('<link type="text/css" rel="stylesheet" href="'+pa+"css/jquery.ui."+this.name+La+'"/>')};this.addJs=function(){document.write('<script type="text/javascript" src="'+pa+"js/jquery.ui."+
2 this.name+Ma+'"><\/script>')};this.addDependent=function(){for(var j=0;j<this.dependsOn.length;j++)qa[this.dependsOn[j]].addToPage()};this.addInteractions=function(){for(var j=0;j<this.interactions.length;j++)document.write('<script type="text/javascript" src="'+pa+"js/jquery.ui."+this.interactions[j]+Ma+'"><\/script>')};this.addToPage=function(){if(!this.onPage){this.addInteractions();this.addDependent();this.addJs();this.addCss();this.onPage=true}};Z.extend(this,i)}if(!(typeof jQuery!=="undefined"&&
3 typeof jQuery.ui!=="undefined"&&typeof jQuery.ui.jig!=="undefined")){(function(i,j){function q(a){var b=Za[a]={},d,e;a=a.split(/\s+/);d=0;for(e=a.length;d<e;d++)b[a[d]]=true;return b}function v(a,b,d){if(d===j&&a.nodeType===1){d="data-"+b.replace(Gb,"-$1").toLowerCase();d=a.getAttribute(d);if(typeof d==="string"){try{d=d==="true"?true:d==="false"?false:d==="null"?null:c.isNumeric(d)?parseFloat(d):Hb.test(d)?c.parseJSON(d):d}catch(e){}c.data(a,b,d)}else d=j}return d}function p(a){for(var b in a)if(!(b===
4 "data"&&c.isEmptyObject(a[b])))if(b!=="toJSON")return false;return true}function s(a,b,d){var e=b+"defer",f=b+"queue",g=b+"mark",l=c._data(a,e);if(l&&(d==="queue"||!c._data(a,f))&&(d==="mark"||!c._data(a,g)))setTimeout(function(){if(!c._data(a,f)&&!c._data(a,g)){c.removeData(a,e,true);l.fire()}},0)}function r(){return false}function x(){return true}function C(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function G(a,b,d){b=b||0;if(c.isFunction(b))return c.grep(a,function(f,g){return!!b.call(f,
5 g,f)===d});else if(b.nodeType)return c.grep(a,function(f){return f===b===d});else if(typeof b==="string"){var e=c.grep(a,function(f){return f.nodeType===1});if(Ib.test(b))return c.filter(b,e,!d);else b=c.filter(b,e)}return c.grep(a,function(f){return c.inArray(f,b)>=0===d})}function I(a){var b=$a.split("|");a=a.createDocumentFragment();if(a.createElement)for(;b.length;)a.createElement(b.pop());return a}function N(a){return c.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):
6 a}function O(a,b){if(!(b.nodeType!==1||!c.hasData(a))){var d,e,f;e=c._data(a);a=c._data(b,e);var g=e.events;if(g){delete a.handle;a.events={};for(d in g){e=0;for(f=g[d].length;e<f;e++)c.event.add(b,d+(g[d][e].namespace?".":"")+g[d][e].namespace,g[d][e],g[d][e].data)}}if(a.data)a.data=c.extend({},a.data)}}function Q(a,b){var d;if(b.nodeType===1){b.clearAttributes&&b.clearAttributes();b.mergeAttributes&&b.mergeAttributes(a);d=b.nodeName.toLowerCase();if(d==="object")b.outerHTML=a.outerHTML;else if(d===
7 "input"&&(a.type==="checkbox"||a.type==="radio")){if(a.checked)b.defaultChecked=b.checked=a.checked;if(b.value!==a.value)b.value=a.value}else if(d==="option")b.selected=a.defaultSelected;else if(d==="input"||d==="textarea")b.defaultValue=a.defaultValue;b.removeAttribute(c.expando)}}function P(a){return typeof a.getElementsByTagName!=="undefined"?a.getElementsByTagName("*"):typeof a.querySelectorAll!=="undefined"?a.querySelectorAll("*"):[]}function R(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=
8 a.checked}function ea(a){var b=(a.nodeName||"").toLowerCase();if(b==="input")R(a);else b!=="script"&&typeof a.getElementsByTagName!=="undefined"&&c.grep(a.getElementsByTagName("input"),R)}function ta(a){var b=L.createElement("div");ab.appendChild(b);b.innerHTML=a.outerHTML;return b.firstChild}function ua(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval((b.text||b.textContent||b.innerHTML||"").replace(Jb,"/*$0*/"));b.parentNode&&b.parentNode.removeChild(b)}function va(a,b,
9 d){var e=b==="width"?a.offsetWidth:a.offsetHeight,f=b==="width"?Kb:Lb,g=0,l=f.length;if(e>0){if(d!=="border")for(;g<l;g++){d||(e-=parseFloat(c.css(a,"padding"+f[g]))||0);if(d==="margin")e+=parseFloat(c.css(a,d+f[g]))||0;else e-=parseFloat(c.css(a,"border"+f[g]+"Width"))||0}return e+"px"}e=wa(a,b,b);if(e<0||e==null)e=a.style[b]||0;e=parseFloat(e)||0;if(d)for(;g<l;g++){e+=parseFloat(c.css(a,"padding"+f[g]))||0;if(d!=="padding")e+=parseFloat(c.css(a,"border"+f[g]+"Width"))||0;if(d==="margin")e+=parseFloat(c.css(a,
10 d+f[g]))||0}return e+"px"}function Ea(a){return function(b,d){if(typeof b!=="string"){d=b;b="*"}if(c.isFunction(d)){b=b.toLowerCase().split(bb);for(var e=0,f=b.length,g,l;e<f;e++){g=b[e];if(l=/^\+/.test(g))g=g.substr(1)||"*";g=a[g]=a[g]||[];g[l?"unshift":"push"](d)}}}}function fa(a,b,d,e,f,g){f=f||b.dataTypes[0];g=g||{};g[f]=true;f=a[f];for(var l=0,m=f?f.length:0,n=a===Na,t;l<m&&(n||!t);l++){t=f[l](b,d,e);if(typeof t==="string")if(!n||g[t])t=j;else{b.dataTypes.unshift(t);t=fa(a,b,d,e,t,g)}}if((n||
11 !t)&&!g["*"])t=fa(a,b,d,e,"*",g);return t}function Ba(a,b){var d,e,f=c.ajaxSettings.flatOptions||{};for(d in b)if(b[d]!==j)(f[d]?a:e||(e={}))[d]=b[d];e&&c.extend(true,a,e)}function xa(a,b,d,e){if(c.isArray(b))c.each(b,function(g,l){d||Mb.test(a)?e(a,l):xa(a+"["+(typeof l==="object"||c.isArray(l)?g:"")+"]",l,d,e)});else if(!d&&b!=null&&typeof b==="object")for(var f in b)xa(a+"["+f+"]",b[f],d,e);else e(a,b)}function Oa(a,b,d){var e=a.contents,f=a.dataTypes,g=a.responseFields,l,m,n,t;for(m in g)if(m in
12 d)b[g[m]]=d[m];for(;f[0]==="*";){f.shift();if(l===j)l=a.mimeType||b.getResponseHeader("content-type")}if(l)for(m in e)if(e[m]&&e[m].test(l)){f.unshift(m);break}if(f[0]in d)n=f[0];else{for(m in d){if(!f[0]||a.converters[m+" "+f[0]]){n=m;break}t||(t=m)}n=n||t}if(n){n!==f[0]&&f.unshift(n);return d[n]}}function Nb(a,b){if(a.dataFilter)b=a.dataFilter(b,a.dataType);var d=a.dataTypes,e={},f,g,l=d.length,m,n=d[0],t,E,y,H,D;for(f=1;f<l;f++){if(f===1)for(g in a.converters)if(typeof g==="string")e[g.toLowerCase()]=
13 a.converters[g];t=n;n=d[f];if(n==="*")n=t;else if(t!=="*"&&t!==n){E=t+" "+n;y=e[E]||e["* "+n];if(!y){D=j;for(H in e){m=H.split(" ");if(m[0]===t||m[0]==="*")if(D=e[m[1]+" "+n]){H=e[H];if(H===true)y=D;else if(D===true)y=H;break}}}y||D||c.error("No conversion from "+E.replace(" "," to "));if(y!==true)b=y?y(b):D(H(b))}}return b}function cb(){try{return new i.XMLHttpRequest}catch(a){}}function Ob(){try{return new i.ActiveXObject("Microsoft.XMLHTTP")}catch(a){}}function db(){setTimeout(Pb,0);return Fa=
14 c.now()}function Pb(){Fa=j}function ya(a,b){var d={};c.each(eb.concat.apply([],eb.slice(0,b)),function(){d[this]=a});return d}function fb(a){if(!Pa[a]){var b=L.body,d=c("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){if(!la){la=L.createElement("iframe");la.frameBorder=la.width=la.height=0}b.appendChild(la);if(!za||!la.createElement){za=(la.contentWindow||la.contentDocument).document;za.write((L.compatMode==="CSS1Compat"?"<!doctype html>":"")+"<html><body>");za.close()}d=
15 za.createElement(a);za.body.appendChild(d);e=c.css(d,"display");b.removeChild(la)}Pa[a]=e}return Pa[a]}function Qa(a){return c.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var L=i.document,Qb=i.navigator,Rb=i.location,c=function(){function a(){if(!b.isReady){try{L.documentElement.doScroll("left")}catch(o){setTimeout(a,1);return}b.ready()}}var b=function(o,A){return new b.fn.init(o,A,f)},d=i.jQuery,e=i.$,f,g=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,l=/\S/,m=/^\s+/,n=/\s+$/,t=
16 /^<(\w+)\s*\/?>(?:<\/\1>)?$/,E=/^[\],:{}\s]*$/,y=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,H=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,D=/(?:^|:|,)(?:\s*\[)+/g,S=/(webkit)[ \/]([\w.]+)/,$=/(opera)(?:.*version)?[ \/]([\w.]+)/,ba=/(msie) ([\w.]+)/,aa=/(mozilla)(?:.*? rv:([\w.]+))?/,na=/-([a-z]|[0-9])/ig,T=/^-ms-/,ma=function(o,A){return(A+"").toUpperCase()},ia=Qb.userAgent,h,k,u=Object.prototype.toString,w=Object.prototype.hasOwnProperty,z=Array.prototype.push,B=Array.prototype.slice,
17 J=String.prototype.trim,M=Array.prototype.indexOf,V={};b.fn=b.prototype={constructor:b,init:function(o,A,K){var F;if(!o)return this;if(o.nodeType){this.context=this[0]=o;this.length=1;return this}if(o==="body"&&!A&&L.body){this.context=L;this[0]=L.body;this.selector=o;this.length=1;return this}if(typeof o==="string")if((F=o.charAt(0)==="<"&&o.charAt(o.length-1)===">"&&o.length>=3?[null,o,null]:g.exec(o))&&(F[1]||!A))if(F[1]){K=(A=A instanceof b?A[0]:A)?A.ownerDocument||A:L;if(o=t.exec(o))if(b.isPlainObject(A)){o=
18 [L.createElement(o[1])];b.fn.attr.call(o,A,true)}else o=[K.createElement(o[1])];else{o=b.buildFragment([F[1]],[K]);o=(o.cacheable?b.clone(o.fragment):o.fragment).childNodes}return b.merge(this,o)}else{if((A=L.getElementById(F[2]))&&A.parentNode){if(A.id!==F[2])return K.find(o);this.length=1;this[0]=A}this.context=L;this.selector=o;return this}else return!A||A.jquery?(A||K).find(o):this.constructor(A).find(o);else if(b.isFunction(o))return K.ready(o);if(o.selector!==j){this.selector=o.selector;this.context=
19 o.context}return b.makeArray(o,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return B.call(this,0)},get:function(o){return o==null?this.toArray():o<0?this[this.length+o]:this[o]},pushStack:function(o,A,K){var F=this.constructor();b.isArray(o)?z.apply(F,o):b.merge(F,o);F.prevObject=this;F.context=this.context;if(A==="find")F.selector=this.selector+(this.selector?" ":"")+K;else if(A)F.selector=this.selector+"."+A+"("+K+")";return F},each:function(o,
20 A){return b.each(this,o,A)},ready:function(o){b.bindReady();h.add(o);return this},eq:function(o){o=+o;return o===-1?this.slice(o):this.slice(o,o+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(B.apply(this,arguments),"slice",B.call(arguments).join(","))},map:function(o){return this.pushStack(b.map(this,function(A,K){return o.call(A,K,A)}))},end:function(){return this.prevObject||this.constructor(null)},push:z,sort:[].sort,splice:[].splice};
21 b.fn.init.prototype=b.fn;b.extend=b.fn.extend=function(){var o,A,K,F,X,U=arguments[0]||{},ca=1,da=arguments.length,Ra=false;if(typeof U==="boolean"){Ra=U;U=arguments[1]||{};ca=2}if(typeof U!=="object"&&!b.isFunction(U))U={};if(da===ca){U=this;--ca}for(;ca<da;ca++)if((o=arguments[ca])!=null)for(A in o){K=U[A];F=o[A];if(U!==F)if(Ra&&F&&(b.isPlainObject(F)||(X=b.isArray(F)))){if(X){X=false;K=K&&b.isArray(K)?K:[]}else K=K&&b.isPlainObject(K)?K:{};U[A]=b.extend(Ra,K,F)}else if(F!==j)U[A]=F}return U};b.extend({noConflict:function(o){if(i.$===
22 b)i.$=e;if(o&&i.jQuery===b)i.jQuery=d;return b},isReady:false,readyWait:1,holdReady:function(o){if(o)b.readyWait++;else b.ready(true)},ready:function(o){if(o===true&&!--b.readyWait||o!==true&&!b.isReady){if(!L.body)return setTimeout(b.ready,1);b.isReady=true;if(!(o!==true&&--b.readyWait>0)){h.fireWith(L,[b]);b.fn.trigger&&b(L).trigger("ready").off("ready")}}},bindReady:function(){if(!h){h=b.Callbacks("once memory");if(L.readyState==="complete")return setTimeout(b.ready,1);if(L.addEventListener){L.addEventListener("DOMContentLoaded",
23 k,false);i.addEventListener("load",b.ready,false)}else if(L.attachEvent){L.attachEvent("onreadystatechange",k);i.attachEvent("onload",b.ready);var o=false;try{o=i.frameElement==null}catch(A){}L.documentElement.doScroll&&o&&a()}}},isFunction:function(o){return b.type(o)==="function"},isArray:Array.isArray||function(o){return b.type(o)==="array"},isWindow:function(o){return o&&typeof o==="object"&&"setInterval"in o},isNumeric:function(o){return!isNaN(parseFloat(o))&&isFinite(o)},type:function(o){return o==
24 null?String(o):V[u.call(o)]||"object"},isPlainObject:function(o){if(!o||b.type(o)!=="object"||o.nodeType||b.isWindow(o))return false;try{if(o.constructor&&!w.call(o,"constructor")&&!w.call(o.constructor.prototype,"isPrototypeOf"))return false}catch(A){return false}var K;for(K in o);return K===j||w.call(o,K)},isEmptyObject:function(o){for(var A in o)return false;return true},error:function(o){throw new Error(o);},parseJSON:function(o){if(typeof o!=="string"||!o)return null;o=b.trim(o);if(i.JSON&&i.JSON.parse)return i.JSON.parse(o);
25 if(E.test(o.replace(y,"@").replace(H,"]").replace(D,"")))return(new Function("return "+o))();b.error("Invalid JSON: "+o)},parseXML:function(o){var A,K;try{if(i.DOMParser){K=new DOMParser;A=K.parseFromString(o,"text/xml")}else{A=new ActiveXObject("Microsoft.XMLDOM");A.async="false";A.loadXML(o)}}catch(F){A=j}if(!A||!A.documentElement||A.getElementsByTagName("parsererror").length)b.error("Invalid XML: "+o);return A},noop:function(){},globalEval:function(o){if(o&&l.test(o))(i.execScript||function(A){i.eval.call(i,
26 A)})(o)},camelCase:function(o){return o.replace(T,"ms-").replace(na,ma)},nodeName:function(o,A){return o.nodeName&&o.nodeName.toUpperCase()===A.toUpperCase()},each:function(o,A,K){var F,X=0,U=o.length,ca=U===j||b.isFunction(o);if(K)if(ca)for(F in o){if(A.apply(o[F],K)===false)break}else for(;X<U;){if(A.apply(o[X++],K)===false)break}else if(ca)for(F in o){if(A.call(o[F],F,o[F])===false)break}else for(;X<U;)if(A.call(o[X],X,o[X++])===false)break;return o},trim:J?function(o){return o==null?"":J.call(o)}:
27 function(o){return o==null?"":o.toString().replace(m,"").replace(n,"")},makeArray:function(o,A){A=A||[];if(o!=null){var K=b.type(o);o.length==null||K==="string"||K==="function"||K==="regexp"||b.isWindow(o)?z.call(A,o):b.merge(A,o)}return A},inArray:function(o,A,K){var F;if(A){if(M)return M.call(A,o,K);F=A.length;for(K=K?K<0?Math.max(0,F+K):K:0;K<F;K++)if(K in A&&A[K]===o)return K}return-1},merge:function(o,A){var K=o.length,F=0;if(typeof A.length==="number")for(var X=A.length;F<X;F++)o[K++]=A[F];
28 else for(;A[F]!==j;)o[K++]=A[F++];o.length=K;return o},grep:function(o,A,K){var F=[],X;K=!!K;for(var U=0,ca=o.length;U<ca;U++){X=!!A(o[U],U);K!==X&&F.push(o[U])}return F},map:function(o,A,K){var F,X,U=[],ca=0,da=o.length;if(o instanceof b||da!==j&&typeof da==="number"&&(da>0&&o[0]&&o[da-1]||da===0||b.isArray(o)))for(;ca<da;ca++){F=A(o[ca],ca,K);if(F!=null)U[U.length]=F}else for(X in o){F=A(o[X],X,K);if(F!=null)U[U.length]=F}return U.concat.apply([],U)},guid:1,proxy:function(o,A){if(typeof A==="string"){var K=
29 o[A];A=o;o=K}if(!b.isFunction(o))return j;var F=B.call(arguments,2);K=function(){return o.apply(A,F.concat(B.call(arguments)))};K.guid=o.guid=o.guid||K.guid||b.guid++;return K},access:function(o,A,K,F,X,U){var ca=o.length;if(typeof A==="object"){for(var da in A)b.access(o,da,A[da],F,X,K);return o}if(K!==j){F=!U&&F&&b.isFunction(K);for(da=0;da<ca;da++)X(o[da],A,F?K.call(o[da],da,X(o[da],A)):K,U);return o}return ca?X(o[0],A):j},now:function(){return(new Date).getTime()},uaMatch:function(o){o=o.toLowerCase();
30 o=S.exec(o)||$.exec(o)||ba.exec(o)||o.indexOf("compatible")<0&&aa.exec(o)||[];return{browser:o[1]||"",version:o[2]||"0"}},sub:function(){function o(K,F){return new o.fn.init(K,F)}b.extend(true,o,this);o.superclass=this;o.fn=o.prototype=this();o.fn.constructor=o;o.sub=this.sub;o.fn.init=function(K,F){if(F&&F instanceof b&&!(F instanceof o))F=o(F);return b.fn.init.call(this,K,F,A)};o.fn.init.prototype=o.fn;var A=o(L);return o},browser:{}});b.each("Boolean Number String Function Array Date RegExp Object".split(" "),
31 function(o,A){V["[object "+A+"]"]=A.toLowerCase()});ia=b.uaMatch(ia);if(ia.browser){b.browser[ia.browser]=true;b.browser.version=ia.version}if(b.browser.webkit)b.browser.safari=true;if(l.test("\u00a0")){m=/^[\s\xA0]+/;n=/[\s\xA0]+$/}f=b(L);if(L.addEventListener)k=function(){L.removeEventListener("DOMContentLoaded",k,false);b.ready()};else if(L.attachEvent)k=function(){if(L.readyState==="complete"){L.detachEvent("onreadystatechange",k);b.ready()}};return b}(),Za={};c.Callbacks=function(a){a=a?Za[a]||
32 q(a):{};var b=[],d=[],e,f,g,l,m,n=function(y){var H,D,S,$;H=0;for(D=y.length;H<D;H++){S=y[H];$=c.type(S);if($==="array")n(S);else if($==="function")if(!a.unique||!E.has(S))b.push(S)}},t=function(y,H){H=H||[];e=!a.memory||[y,H];f=true;m=g||0;g=0;for(l=b.length;b&&m<l;m++)if(b[m].apply(y,H)===false&&a.stopOnFalse){e=true;break}f=false;if(b)if(a.once)if(e===true)E.disable();else b=[];else if(d&&d.length){e=d.shift();E.fireWith(e[0],e[1])}},E={add:function(){if(b){var y=b.length;n(arguments);if(f)l=b.length;
33 else if(e&&e!==true){g=y;t(e[0],e[1])}}return this},remove:function(){if(b)for(var y=arguments,H=0,D=y.length;H<D;H++)for(var S=0;S<b.length;S++)if(y[H]===b[S]){if(f)if(S<=l){l--;S<=m&&m--}b.splice(S--,1);if(a.unique)break}return this},has:function(y){if(b)for(var H=0,D=b.length;H<D;H++)if(y===b[H])return true;return false},empty:function(){b=[];return this},disable:function(){b=d=e=j;return this},disabled:function(){return!b},lock:function(){d=j;if(!e||e===true)E.disable();return this},locked:function(){return!d},
34 fireWith:function(y,H){if(d)if(f)a.once||d.push([y,H]);else a.once&&e||t(y,H);return this},fire:function(){E.fireWith(this,arguments);return this},fired:function(){return!!e}};return E};var Sa=[].slice;c.extend({Deferred:function(a){var b=c.Callbacks("once memory"),d=c.Callbacks("once memory"),e=c.Callbacks("memory"),f="pending",g={resolve:b,reject:d,notify:e},l={done:b.add,fail:d.add,progress:e.add,state:function(){return f},isResolved:b.fired,isRejected:d.fired,then:function(t,E,y){m.done(t).fail(E).progress(y);
35 return this},always:function(){m.done.apply(m,arguments).fail.apply(m,arguments);return this},pipe:function(t,E,y){return c.Deferred(function(H){c.each({done:[t,"resolve"],fail:[E,"reject"],progress:[y,"notify"]},function(D,S){var $=S[0],ba=S[1],aa;c.isFunction($)?m[D](function(){(aa=$.apply(this,arguments))&&c.isFunction(aa.promise)?aa.promise().then(H.resolve,H.reject,H.notify):H[ba+"With"](this===m?H:this,[aa])}):m[D](H[ba])})}).promise()},promise:function(t){if(t==null)t=l;else for(var E in l)t[E]=
36 l[E];return t}},m=l.promise({}),n;for(n in g){m[n]=g[n].fire;m[n+"With"]=g[n].fireWith}m.done(function(){f="resolved"},d.disable,e.lock).fail(function(){f="rejected"},b.disable,e.lock);a&&a.call(m,m);return m},when:function(a){function b(E){return function(y){e[E]=arguments.length>1?Sa.call(arguments,0):y;--m||n.resolveWith(n,e)}}function d(E){return function(y){l[E]=arguments.length>1?Sa.call(arguments,0):y;n.notifyWith(t,l)}}var e=Sa.call(arguments,0),f=0,g=e.length,l=new Array(g),m=g,n=g<=1&&a&&
37 c.isFunction(a.promise)?a:c.Deferred(),t=n.promise();if(g>1){for(;f<g;f++)if(e[f]&&e[f].promise&&c.isFunction(e[f].promise))e[f].promise().then(b(f),n.reject,d(f));else--m;m||n.resolveWith(n,e)}else if(n!==a)n.resolveWith(n,g?[a]:[]);return t}});c.support=function(){var a,b,d,e,f,g,l,m,n=L.createElement("div");n.setAttribute("className","t");n.innerHTML="   <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>";b=n.getElementsByTagName("*");d=n.getElementsByTagName("a")[0];
38 if(!b||!b.length||!d)return{};e=L.createElement("select");f=e.appendChild(L.createElement("option"));b=n.getElementsByTagName("input")[0];a={leadingWhitespace:n.firstChild.nodeType===3,tbody:!n.getElementsByTagName("tbody").length,htmlSerialize:!!n.getElementsByTagName("link").length,style:/top/.test(d.getAttribute("style")),hrefNormalized:d.getAttribute("href")==="/a",opacity:/^0.55/.test(d.style.opacity),cssFloat:!!d.style.cssFloat,checkOn:b.value==="on",optSelected:f.selected,getSetAttribute:n.className!==
39 "t",enctype:!!L.createElement("form").enctype,html5Clone:L.createElement("nav").cloneNode(true).outerHTML!=="<:nav></:nav>",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true};b.checked=true;a.noCloneChecked=b.cloneNode(true).checked;e.disabled=true;a.optDisabled=!f.disabled;try{delete n.test}catch(t){a.deleteExpando=false}if(!n.addEventListener&&n.attachEvent&&n.fireEvent){n.attachEvent("onclick",
40 function(){a.noCloneEvent=false});n.cloneNode(true).fireEvent("onclick")}b=L.createElement("input");b.value="t";b.setAttribute("type","radio");a.radioValue=b.value==="t";b.setAttribute("checked","checked");n.appendChild(b);d=L.createDocumentFragment();d.appendChild(n.lastChild);a.checkClone=d.cloneNode(true).cloneNode(true).lastChild.checked;a.appendChecked=b.checked;d.removeChild(b);d.appendChild(n);n.innerHTML="";if(i.getComputedStyle){b=L.createElement("div");b.style.width="0";b.style.marginRight=
41 "0";n.style.width="2px";n.appendChild(b);a.reliableMarginRight=(parseInt((i.getComputedStyle(b,null)||{marginRight:0}).marginRight,10)||0)===0}if(n.attachEvent)for(l in{submit:1,change:1,focusin:1}){b="on"+l;m=b in n;if(!m){n.setAttribute(b,"return;");m=typeof n[b]==="function"}a[l+"Bubbles"]=m}d.removeChild(n);d=e=f=b=n=b=null;c(function(){var E,y,H,D,S=L.getElementsByTagName("body")[0];if(S){E=L.createElement("div");E.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px";
42 S.insertBefore(E,S.firstChild);n=L.createElement("div");E.appendChild(n);n.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";g=n.getElementsByTagName("td");m=g[0].offsetHeight===0;g[0].style.display="";g[1].style.display="none";a.reliableHiddenOffsets=m&&g[0].offsetHeight===0;n.innerHTML="";n.style.width=n.style.paddingLeft="1px";c.boxModel=a.boxModel=n.offsetWidth===2;if(typeof n.style.zoom!=="undefined"){n.style.display="inline";n.style.zoom=1;a.inlineBlockNeedsLayout=
43 n.offsetWidth===2;n.style.display="";n.innerHTML="<div style='width:4px;'></div>";a.shrinkWrapBlocks=n.offsetWidth!==2}n.style.cssText="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;visibility:hidden;border:0;";n.innerHTML="<div style='position:absolute;top:0;left:0;width:1px;height:1px;margin:0;border:5px solid #000;padding:0;'><div></div></div><table style='position:absolute;top:0;left:0;width:1px;height:1px;margin:0;border:5px solid #000;padding:0;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";
44 y=n.firstChild;H=y.firstChild;D={doesNotAddBorder:H.offsetTop!==5,doesAddBorderForTableAndCells:y.nextSibling.firstChild.firstChild.offsetTop===5};H.style.position="fixed";H.style.top="20px";D.fixedPosition=H.offsetTop===20||H.offsetTop===15;H.style.position=H.style.top="";y.style.overflow="hidden";y.style.position="relative";D.subtractsBorderForOverflowNotVisible=H.offsetTop===-5;D.doesNotIncludeMarginInBodyOffset=S.offsetTop!==1;S.removeChild(E);n=null;c.extend(a,D)}});return a}();var Hb=/^(?:\{.*\}|\[.*\])$/,
45 Gb=/([A-Z])/g;c.extend({cache:{},uuid:0,expando:"jQuery"+(c.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(a){a=a.nodeType?c.cache[a[c.expando]]:a[c.expando];return!!a&&!p(a)},data:function(a,b,d,e){if(c.acceptData(a)){var f;f=c.expando;var g=typeof b==="string",l=a.nodeType,m=l?c.cache:a,n=l?a[f]:a[f]&&f,t=b==="events";if(!((!n||!m[n]||!t&&!e&&!m[n].data)&&g&&d===j)){if(!n)if(l)a[f]=n=++c.uuid;else n=
46 f;if(!m[n]){m[n]={};if(!l)m[n].toJSON=c.noop}if(typeof b==="object"||typeof b==="function")if(e)m[n]=c.extend(m[n],b);else m[n].data=c.extend(m[n].data,b);f=a=m[n];if(!e){if(!a.data)a.data={};a=a.data}if(d!==j)a[c.camelCase(b)]=d;if(t&&!a[b])return f.events;if(g){d=a[b];if(d==null)d=a[c.camelCase(b)]}else d=a;return d}}},removeData:function(a,b,d){if(c.acceptData(a)){var e,f,g,l=c.expando,m=a.nodeType,n=m?c.cache:a,t=m?a[l]:l;if(n[t]){if(b)if(e=d?n[t]:n[t].data){if(!c.isArray(b))if(b in e)b=[b];else{b=
47 c.camelCase(b);b=b in e?[b]:b.split(" ")}f=0;for(g=b.length;f<g;f++)delete e[b[f]];if(!(d?p:c.isEmptyObject)(e))return}if(!d){delete n[t].data;if(!p(n[t]))return}if(c.support.deleteExpando||!n.setInterval)delete n[t];else n[t]=null;if(m)if(c.support.deleteExpando)delete a[l];else if(a.removeAttribute)a.removeAttribute(l);else a[l]=null}}},_data:function(a,b,d){return c.data(a,b,d,true)},acceptData:function(a){if(a.nodeName){var b=c.noData[a.nodeName.toLowerCase()];if(b)return!(b===true||a.getAttribute("classid")!==
48 b)}return true}});c.fn.extend({data:function(a,b){var d,e,f,g=null;if(typeof a==="undefined"){if(this.length){g=c.data(this[0]);if(this[0].nodeType===1&&!c._data(this[0],"parsedAttrs")){e=this[0].attributes;for(var l=0,m=e.length;l<m;l++){f=e[l].name;if(f.indexOf("data-")===0){f=c.camelCase(f.substring(5));v(this[0],f,g[f])}}c._data(this[0],"parsedAttrs",true)}}return g}else if(typeof a==="object")return this.each(function(){c.data(this,a)});d=a.split(".");d[1]=d[1]?"."+d[1]:"";if(b===j){g=this.triggerHandler("getData"+
49 d[1]+"!",[d[0]]);if(g===j&&this.length){g=c.data(this[0],a);g=v(this[0],a,g)}return g===j&&d[1]?this.data(d[0]):g}else return this.each(function(){var n=c(this),t=[d[0],b];n.triggerHandler("setData"+d[1]+"!",t);c.data(this,a,b);n.triggerHandler("changeData"+d[1]+"!",t)})},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});c.extend({_mark:function(a,b){if(a){b=(b||"fx")+"mark";c._data(a,b,(c._data(a,b)||0)+1)}},_unmark:function(a,b,d){if(a!==true){d=b;b=a;a=false}if(b){d=
50 d||"fx";var e=d+"mark";if(a=a?0:(c._data(b,e)||1)-1)c._data(b,e,a);else{c.removeData(b,e,true);s(b,d,"mark")}}},queue:function(a,b,d){var e;if(a){b=(b||"fx")+"queue";e=c._data(a,b);if(d)if(!e||c.isArray(d))e=c._data(a,b,c.makeArray(d));else e.push(d);return e||[]}},dequeue:function(a,b){b=b||"fx";var d=c.queue(a,b),e=d.shift(),f={};if(e==="inprogress")e=d.shift();if(e){b==="fx"&&d.unshift("inprogress");c._data(a,b+".run",f);e.call(a,function(){c.dequeue(a,b)},f)}if(!d.length){c.removeData(a,b+"queue "+
51 b+".run",true);s(a,b,"queue")}}});c.fn.extend({queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b===j)return c.queue(this[0],a);return this.each(function(){var d=c.queue(this,a,b);a==="fx"&&d[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(d,e){var f=setTimeout(d,a);e.stop=function(){clearTimeout(f)}})},clearQueue:function(a){return this.queue(a||
52 "fx",[])},promise:function(a,b){function d(){--g||e.resolveWith(f,[f])}if(typeof a!=="string"){b=a;a=j}a=a||"fx";var e=c.Deferred(),f=this;b=f.length;var g=1,l=a+"defer",m=a+"queue";a=a+"mark";for(var n;b--;)if(n=c.data(f[b],l,j,true)||(c.data(f[b],m,j,true)||c.data(f[b],a,j,true))&&c.data(f[b],l,c.Callbacks("once memory"),true)){g++;n.add(d)}d();return e.promise()}});var gb=/[\n\t\r]/g,Ga=/\s+/,Sb=/\r/g,Tb=/^(?:button|input)$/i,Ub=/^(?:button|input|object|select|textarea)$/i,Vb=/^a(?:rea)?$/i,hb=
53 /^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,ib=c.support.getSetAttribute,oa,jb,kb;c.fn.extend({attr:function(a,b){return c.access(this,a,b,true,c.attr)},removeAttr:function(a){return this.each(function(){c.removeAttr(this,a)})},prop:function(a,b){return c.access(this,a,b,true,c.prop)},removeProp:function(a){a=c.propFix[a]||a;return this.each(function(){try{this[a]=j;delete this[a]}catch(b){}})},addClass:function(a){var b,
54 d,e,f,g,l,m;if(c.isFunction(a))return this.each(function(n){c(this).addClass(a.call(this,n,this.className))});if(a&&typeof a==="string"){b=a.split(Ga);d=0;for(e=this.length;d<e;d++){f=this[d];if(f.nodeType===1)if(!f.className&&b.length===1)f.className=a;else{g=" "+f.className+" ";l=0;for(m=b.length;l<m;l++)~g.indexOf(" "+b[l]+" ")||(g+=b[l]+" ");f.className=c.trim(g)}}}return this},removeClass:function(a){var b,d,e,f,g,l,m;if(c.isFunction(a))return this.each(function(n){c(this).removeClass(a.call(this,
55 n,this.className))});if(a&&typeof a==="string"||a===j){b=(a||"").split(Ga);d=0;for(e=this.length;d<e;d++){f=this[d];if(f.nodeType===1&&f.className)if(a){g=(" "+f.className+" ").replace(gb," ");l=0;for(m=b.length;l<m;l++)g=g.replace(" "+b[l]+" "," ");f.className=c.trim(g)}else f.className=""}}return this},toggleClass:function(a,b){var d=typeof a,e=typeof b==="boolean";if(c.isFunction(a))return this.each(function(f){c(this).toggleClass(a.call(this,f,this.className,b),b)});return this.each(function(){if(d===
56 "string")for(var f,g=0,l=c(this),m=b,n=a.split(Ga);f=n[g++];){m=e?m:!l.hasClass(f);l[m?"addClass":"removeClass"](f)}else if(d==="undefined"||d==="boolean"){this.className&&c._data(this,"__className__",this.className);this.className=this.className||a===false?"":c._data(this,"__className__")||""}})},hasClass:function(a){a=" "+a+" ";for(var b=0,d=this.length;b<d;b++)if(this[b].nodeType===1&&(" "+this[b].className+" ").replace(gb," ").indexOf(a)>-1)return true;return false},val:function(a){var b,d,e,
57 f=this[0];if(arguments.length){e=c.isFunction(a);return this.each(function(g){var l=c(this);if(this.nodeType===1){g=e?a.call(this,g,l.val()):a;if(g==null)g="";else if(typeof g==="number")g+="";else if(c.isArray(g))g=c.map(g,function(m){return m==null?"":m+""});b=c.valHooks[this.nodeName.toLowerCase()]||c.valHooks[this.type];if(!b||!("set"in b)||b.set(this,g,"value")===j)this.value=g}})}else if(f){if((b=c.valHooks[f.nodeName.toLowerCase()]||c.valHooks[f.type])&&"get"in b&&(d=b.get(f,"value"))!==j)return d;
58 d=f.value;return typeof d==="string"?d.replace(Sb,""):d==null?"":d}}});c.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,d,e=a.selectedIndex,f=[],g=a.options,l=a.type==="select-one";if(e<0)return null;a=l?e:0;for(d=l?e+1:g.length;a<d;a++){b=g[a];if(b.selected&&(c.support.optDisabled?!b.disabled:b.getAttribute("disabled")===null)&&(!b.parentNode.disabled||!c.nodeName(b.parentNode,"optgroup"))){b=c(b).val();if(l)return b;
59 f.push(b)}}if(l&&!f.length&&g.length)return c(g[e]).val();return f},set:function(a,b){var d=c.makeArray(b);c(a).find("option").each(function(){this.selected=c.inArray(c(this).val(),d)>=0});if(!d.length)a.selectedIndex=-1;return d}}},attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,b,d,e){var f,g,l=a.nodeType;if(!(!a||l===3||l===8||l===2)){if(e&&b in c.attrFn)return c(a)[b](d);if(typeof a.getAttribute==="undefined")return c.prop(a,b,d);if(e=
60 l!==1||!c.isXMLDoc(a)){b=b.toLowerCase();g=c.attrHooks[b]||(hb.test(b)?jb:oa)}if(d!==j)if(d===null)c.removeAttr(a,b);else if(g&&"set"in g&&e&&(f=g.set(a,d,b))!==j)return f;else{a.setAttribute(b,""+d);return d}else if(g&&"get"in g&&e&&(f=g.get(a,b))!==null)return f;else{f=a.getAttribute(b);return f===null?j:f}}},removeAttr:function(a,b){var d,e,f,g=0;if(b&&a.nodeType===1){d=b.toLowerCase().split(Ga);for(f=d.length;g<f;g++)if(e=d[g]){b=c.propFix[e]||e;c.attr(a,e,"");a.removeAttribute(ib?e:b);if(hb.test(e)&&
61 b in a)a[b]=false}}},attrHooks:{type:{set:function(a,b){if(Tb.test(a.nodeName)&&a.parentNode)c.error("type property can't be changed");else if(!c.support.radioValue&&b==="radio"&&c.nodeName(a,"input")){var d=a.value;a.setAttribute("type",b);if(d)a.value=d;return b}}},value:{get:function(a,b){if(oa&&c.nodeName(a,"button"))return oa.get(a,b);return b in a?a.value:null},set:function(a,b,d){if(oa&&c.nodeName(a,"button"))return oa.set(a,b,d);a.value=b}}},propFix:{tabindex:"tabIndex",readonly:"readOnly",
62 "for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(a,b,d){var e,f,g=a.nodeType;if(!(!a||g===3||g===8||g===2)){if(g!==1||!c.isXMLDoc(a)){b=c.propFix[b]||b;f=c.propHooks[b]}return d!==j?f&&"set"in f&&(e=f.set(a,d,b))!==j?e:(a[b]=d):f&&"get"in f&&(e=f.get(a,b))!==null?e:a[b]}},propHooks:{tabIndex:{get:function(a){var b=
63 a.getAttributeNode("tabindex");return b&&b.specified?parseInt(b.value,10):Ub.test(a.nodeName)||Vb.test(a.nodeName)&&a.href?0:j}}}});c.attrHooks.tabindex=c.propHooks.tabIndex;jb={get:function(a,b){var d,e=c.prop(a,b);return e===true||typeof e!=="boolean"&&(d=a.getAttributeNode(b))&&d.nodeValue!==false?b.toLowerCase():j},set:function(a,b,d){if(b===false)c.removeAttr(a,d);else{b=c.propFix[d]||d;if(b in a)a[b]=true;a.setAttribute(d,d.toLowerCase())}return d}};if(!ib){kb={name:true,id:true};oa=c.valHooks.button=
64 {get:function(a,b){return(a=a.getAttributeNode(b))&&(kb[b]?a.nodeValue!=="":a.specified)?a.nodeValue:j},set:function(a,b,d){var e=a.getAttributeNode(d);if(!e){e=L.createAttribute(d);a.setAttributeNode(e)}return e.nodeValue=b+""}};c.attrHooks.tabindex.set=oa.set;c.each(["width","height"],function(a,b){c.attrHooks[b]=c.extend(c.attrHooks[b],{set:function(d,e){if(e===""){d.setAttribute(b,"auto");return e}}})});c.attrHooks.contenteditable={get:oa.get,set:function(a,b,d){if(b==="")b="false";oa.set(a,b,
65 d)}}}c.support.hrefNormalized||c.each(["href","src","width","height"],function(a,b){c.attrHooks[b]=c.extend(c.attrHooks[b],{get:function(d){d=d.getAttribute(b,2);return d===null?j:d}})});if(!c.support.style)c.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||j},set:function(a,b){return a.style.cssText=""+b}};if(!c.support.optSelected)c.propHooks.selected=c.extend(c.propHooks.selected,{get:function(){return null}});if(!c.support.enctype)c.propFix.enctype="encoding";c.support.checkOn||
66 c.each(["radio","checkbox"],function(){c.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}});c.each(["radio","checkbox"],function(){c.valHooks[this]=c.extend(c.valHooks[this],{set:function(a,b){if(c.isArray(b))return a.checked=c.inArray(c(a).val(),b)>=0}})});var Ta=/^(?:textarea|input|select)$/i,lb=/^([^\.]*)?(?:\.(.+))?$/,Wb=/\bhover(\.\S+)?\b/,Xb=/^key/,Yb=/^(?:mouse|contextmenu)|click/,mb=/^(?:focusinfocus|focusoutblur)$/,Zb=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,
67 $b=function(a){if(a=Zb.exec(a)){a[1]=(a[1]||"").toLowerCase();a[3]=a[3]&&new RegExp("(?:^|\\s)"+a[3]+"(?:\\s|$)")}return a},ac=function(a,b){var d=a.attributes||{};return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||(d.id||{}).value===b[2])&&(!b[3]||b[3].test((d["class"]||{}).value))},nb=function(a){return c.event.special.hover?a:a.replace(Wb,"mouseenter$1 mouseleave$1")};c.event={add:function(a,b,d,e,f){var g,l,m,n,t,E,y,H,D;if(!(a.nodeType===3||a.nodeType===8||!b||!d||!(g=c._data(a)))){if(d.handler){y=
68 d;d=y.handler}if(!d.guid)d.guid=c.guid++;m=g.events;if(!m)g.events=m={};l=g.handle;if(!l){g.handle=l=function(S){return typeof c!=="undefined"&&(!S||c.event.triggered!==S.type)?c.event.dispatch.apply(l.elem,arguments):j};l.elem=a}b=c.trim(nb(b)).split(" ");for(g=0;g<b.length;g++){n=lb.exec(b[g])||[];t=n[1];E=(n[2]||"").split(".").sort();D=c.event.special[t]||{};t=(f?D.delegateType:D.bindType)||t;D=c.event.special[t]||{};n=c.extend({type:t,origType:n[1],data:e,handler:d,guid:d.guid,selector:f,quick:$b(f),
69 namespace:E.join(".")},y);H=m[t];if(!H){H=m[t]=[];H.delegateCount=0;if(!D.setup||D.setup.call(a,e,E,l)===false)if(a.addEventListener)a.addEventListener(t,l,false);else a.attachEvent&&a.attachEvent("on"+t,l)}if(D.add){D.add.call(a,n);if(!n.handler.guid)n.handler.guid=d.guid}f?H.splice(H.delegateCount++,0,n):H.push(n);c.event.global[t]=true}a=null}},global:{},remove:function(a,b,d,e,f){var g=c.hasData(a)&&c._data(a),l,m,n,t,E,y,H,D,S,$;if(g&&(H=g.events)){b=c.trim(nb(b||"")).split(" ");for(l=0;l<b.length;l++){m=
70 lb.exec(b[l])||[];n=t=m[1];m=m[2];if(n){D=c.event.special[n]||{};n=(e?D.delegateType:D.bindType)||n;S=H[n]||[];E=S.length;m=m?new RegExp("(^|\\.)"+m.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null;for(y=0;y<S.length;y++){$=S[y];if((f||t===$.origType)&&(!d||d.guid===$.guid)&&(!m||m.test($.namespace))&&(!e||e===$.selector||e==="**"&&$.selector)){S.splice(y--,1);$.selector&&S.delegateCount--;D.remove&&D.remove.call(a,$)}}if(S.length===0&&E!==S.length){if(!D.teardown||D.teardown.call(a,m)===false)c.removeEvent(a,
71 n,g.handle);delete H[n]}}else for(n in H)c.event.remove(a,n+b[l],d,e,true)}if(c.isEmptyObject(H)){if(b=g.handle)b.elem=null;c.removeData(a,["events","handle"],true)}}},customEvent:{getData:true,setData:true,changeData:true},trigger:function(a,b,d,e){if(!(d&&(d.nodeType===3||d.nodeType===8))){var f=a.type||a,g=[],l,m,n,t,E;if(!mb.test(f+c.event.triggered)){if(f.indexOf("!")>=0){f=f.slice(0,-1);l=true}if(f.indexOf(".")>=0){g=f.split(".");f=g.shift();g.sort()}if(!((!d||c.event.customEvent[f])&&!c.event.global[f])){a=
72 typeof a==="object"?a[c.expando]?a:new c.Event(f,a):new c.Event(f);a.type=f;a.isTrigger=true;a.exclusive=l;a.namespace=g.join(".");a.namespace_re=a.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.)?")+"(\\.|$)"):null;l=f.indexOf(":")<0?"on"+f:"";if(d){a.result=j;if(!a.target)a.target=d;b=b!=null?c.makeArray(b):[];b.unshift(a);n=c.event.special[f]||{};if(!(n.trigger&&n.trigger.apply(d,b)===false)){E=[[d,n.bindType||f]];if(!e&&!n.noBubble&&!c.isWindow(d)){t=n.delegateType||f;g=mb.test(t+f)?d:d.parentNode;
73 for(m=null;g;g=g.parentNode){E.push([g,t]);m=g}if(m&&m===d.ownerDocument)E.push([m.defaultView||m.parentWindow||i,t])}for(m=0;m<E.length&&!a.isPropagationStopped();m++){g=E[m][0];a.type=E[m][1];(t=(c._data(g,"events")||{})[a.type]&&c._data(g,"handle"))&&t.apply(g,b);(t=l&&g[l])&&c.acceptData(g)&&t.apply(g,b)===false&&a.preventDefault()}a.type=f;if(!e&&!a.isDefaultPrevented())if((!n._default||n._default.apply(d.ownerDocument,b)===false)&&!(f==="click"&&c.nodeName(d,"a"))&&c.acceptData(d))if(l&&d[f]&&
74 (f!=="focus"&&f!=="blur"||a.target.offsetWidth!==0)&&!c.isWindow(d)){if(m=d[l])d[l]=null;c.event.triggered=f;d[f]();c.event.triggered=j;if(m)d[l]=m}return a.result}}else{d=c.cache;for(m in d)d[m].events&&d[m].events[f]&&c.event.trigger(a,b,d[m].handle.elem,true)}}}}},dispatch:function(a){a=c.event.fix(a||i.event);var b=(c._data(this,"events")||{})[a.type]||[],d=b.delegateCount,e=[].slice.call(arguments,0),f=!a.exclusive&&!a.namespace,g=[],l,m,n,t,E,y,H;e[0]=a;a.delegateTarget=this;if(d&&!a.target.disabled&&
75 !(a.button&&a.type==="click")){n=c(this);n.context=this.ownerDocument||this;for(m=a.target;m!=this;m=m.parentNode||this){E={};y=[];n[0]=m;for(l=0;l<d;l++){t=b[l];H=t.selector;if(E[H]===j)E[H]=t.quick?ac(m,t.quick):n.is(H);E[H]&&y.push(t)}y.length&&g.push({elem:m,matches:y})}}b.length>d&&g.push({elem:this,matches:b.slice(d)});for(l=0;l<g.length&&!a.isPropagationStopped();l++){d=g[l];a.currentTarget=d.elem;for(b=0;b<d.matches.length&&!a.isImmediatePropagationStopped();b++){t=d.matches[b];if(f||!a.namespace&&
76 !t.namespace||a.namespace_re&&a.namespace_re.test(t.namespace)){a.data=t.data;a.handleObj=t;t=((c.event.special[t.origType]||{}).handle||t.handler).apply(d.elem,e);if(t!==j){a.result=t;if(t===false){a.preventDefault();a.stopPropagation()}}}}}return a.result},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),
77 filter:function(a,b){if(a.which==null)a.which=b.charCode!=null?b.charCode:b.keyCode;return a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,b){var d,e,f=b.button,g=b.fromElement;if(a.pageX==null&&b.clientX!=null){d=a.target.ownerDocument||L;e=d.documentElement;d=d.body;a.pageX=b.clientX+(e&&e.scrollLeft||d&&d.scrollLeft||0)-(e&&e.clientLeft||d&&d.clientLeft||0);a.pageY=b.clientY+(e&&e.scrollTop||d&&
78 d.scrollTop||0)-(e&&e.clientTop||d&&d.clientTop||0)}if(!a.relatedTarget&&g)a.relatedTarget=g===a.target?b.toElement:g;if(!a.which&&f!==j)a.which=f&1?1:f&2?3:f&4?2:0;return a}},fix:function(a){if(a[c.expando])return a;var b,d,e=a,f=c.event.fixHooks[a.type]||{},g=f.props?this.props.concat(f.props):this.props;a=c.Event(e);for(b=g.length;b;){d=g[--b];a[d]=e[d]}if(!a.target)a.target=e.srcElement||L;if(a.target.nodeType===3)a.target=a.target.parentNode;if(a.metaKey===j)a.metaKey=a.ctrlKey;return f.filter?
79 f.filter(a,e):a},special:{ready:{setup:c.bindReady},load:{noBubble:true},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(a,b,d){if(c.isWindow(this))this.onbeforeunload=d},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}},simulate:function(a,b,d,e){a=c.extend(new c.Event,d,{type:a,isSimulated:true,originalEvent:{}});e?c.event.trigger(a,null,b):c.event.dispatch.call(b,a);a.isDefaultPrevented()&&d.preventDefault()}};c.event.handle=
80 c.event.dispatch;c.removeEvent=L.removeEventListener?function(a,b,d){a.removeEventListener&&a.removeEventListener(b,d,false)}:function(a,b,d){a.detachEvent&&a.detachEvent("on"+b,d)};c.Event=function(a,b){if(!(this instanceof c.Event))return new c.Event(a,b);if(a&&a.type){this.originalEvent=a;this.type=a.type;this.isDefaultPrevented=a.defaultPrevented||a.returnValue===false||a.getPreventDefault&&a.getPreventDefault()?x:r}else this.type=a;b&&c.extend(this,b);this.timeStamp=a&&a.timeStamp||c.now();this[c.expando]=
81 true};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=x;var a=this.originalEvent;if(a)if(a.preventDefault)a.preventDefault();else a.returnValue=false},stopPropagation:function(){this.isPropagationStopped=x;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=x;this.stopPropagation()},isDefaultPrevented:r,isPropagationStopped:r,isImmediatePropagationStopped:r};c.each({mouseenter:"mouseover",
82 mouseleave:"mouseout"},function(a,b){c.event.special[a]={delegateType:b,bindType:b,handle:function(d){var e=d.relatedTarget,f=d.handleObj,g;if(!e||e!==this&&!c.contains(this,e)){d.type=f.origType;g=f.handler.apply(this,arguments);d.type=b}return g}}});if(!c.support.submitBubbles)c.event.special.submit={setup:function(){if(c.nodeName(this,"form"))return false;c.event.add(this,"click._submit keypress._submit",function(a){a=a.target;if((a=c.nodeName(a,"input")||c.nodeName(a,"button")?a.form:j)&&!a._submit_attached){c.event.add(a,
83 "submit._submit",function(b){this.parentNode&&!b.isTrigger&&c.event.simulate("submit",this.parentNode,b,true)});a._submit_attached=true}})},teardown:function(){if(c.nodeName(this,"form"))return false;c.event.remove(this,"._submit")}};if(!c.support.changeBubbles)c.event.special.change={setup:function(){if(Ta.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio"){c.event.add(this,"propertychange._change",function(a){if(a.originalEvent.propertyName==="checked")this._just_changed=true});
84 c.event.add(this,"click._change",function(a){if(this._just_changed&&!a.isTrigger){this._just_changed=false;c.event.simulate("change",this,a,true)}})}return false}c.event.add(this,"beforeactivate._change",function(a){a=a.target;if(Ta.test(a.nodeName)&&!a._change_attached){c.event.add(a,"change._change",function(b){this.parentNode&&!b.isSimulated&&!b.isTrigger&&c.event.simulate("change",this.parentNode,b,true)});a._change_attached=true}})},handle:function(a){var b=a.target;if(this!==b||a.isSimulated||
85 a.isTrigger||b.type!=="radio"&&b.type!=="checkbox")return a.handleObj.handler.apply(this,arguments)},teardown:function(){c.event.remove(this,"._change");return Ta.test(this.nodeName)}};c.support.focusinBubbles||c.each({focus:"focusin",blur:"focusout"},function(a,b){var d=0,e=function(f){c.event.simulate(b,f.target,c.event.fix(f),true)};c.event.special[b]={setup:function(){d++===0&&L.addEventListener(a,e,true)},teardown:function(){--d===0&&L.removeEventListener(a,e,true)}}});c.fn.extend({on:function(a,
86 b,d,e,f){var g,l;if(typeof a==="object"){if(typeof b!=="string"){d=b;b=j}for(l in a)this.on(l,b,d,a[l],f);return this}if(d==null&&e==null){e=b;d=b=j}else if(e==null)if(typeof b==="string"){e=d;d=j}else{e=d;d=b;b=j}if(e===false)e=r;else if(!e)return this;if(f===1){g=e;e=function(m){c().off(m);return g.apply(this,arguments)};e.guid=g.guid||(g.guid=c.guid++)}return this.each(function(){c.event.add(this,a,e,d,b)})},one:function(a,b,d,e){return this.on.call(this,a,b,d,e,1)},off:function(a,b,d){if(a&&a.preventDefault&&
87 a.handleObj){var e=a.handleObj;c(a.delegateTarget).off(e.namespace?e.type+"."+e.namespace:e.type,e.selector,e.handler);return this}if(typeof a==="object"){for(e in a)this.off(e,b,a[e]);return this}if(b===false||typeof b==="function"){d=b;b=j}if(d===false)d=r;return this.each(function(){c.event.remove(this,a,d,b)})},bind:function(a,b,d){return this.on(a,null,b,d)},unbind:function(a,b){return this.off(a,null,b)},live:function(a,b,d){c(this.context).on(a,this.selector,b,d);return this},die:function(a,
88 b){c(this.context).off(a,this.selector||"**",b);return this},delegate:function(a,b,d,e){return this.on(b,a,d,e)},undelegate:function(a,b,d){return arguments.length==1?this.off(a,"**"):this.off(b,a,d)},trigger:function(a,b){return this.each(function(){c.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0])return c.event.trigger(a,b,this[0],true)},toggle:function(a){var b=arguments,d=a.guid||c.guid++,e=0,f=function(g){var l=(c._data(this,"lastToggle"+a.guid)||0)%e;c._data(this,"lastToggle"+
89 a.guid,l+1);g.preventDefault();return b[l].apply(this,arguments)||false};for(f.guid=d;e<b.length;)b[e++].guid=d;return this.click(f)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});c.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){c.fn[b]=function(d,e){if(e==null){e=d;d=null}return arguments.length>
90 0?this.on(b,null,d,e):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true;if(Xb.test(b))c.event.fixHooks[b]=c.event.keyHooks;if(Yb.test(b))c.event.fixHooks[b]=c.event.mouseHooks});(function(){function a(h,k,u,w,z,B){z=0;for(var J=w.length;z<J;z++){var M=w[z];if(M){var V=false;for(M=M[h];M;){if(M[e]===u){V=w[M.sizset];break}if(M.nodeType===1&&!B){M[e]=u;M.sizset=z}if(M.nodeName.toLowerCase()===k){V=M;break}M=M[h]}w[z]=V}}}function b(h,k,u,w,z,B){z=0;for(var J=w.length;z<J;z++){var M=w[z];if(M){var V=false;
91 for(M=M[h];M;){if(M[e]===u){V=w[M.sizset];break}if(M.nodeType===1){if(!B){M[e]=u;M.sizset=z}if(typeof k!=="string"){if(M===k){V=true;break}}else if(y.filter(k,[M]).length>0){V=M;break}}M=M[h]}w[z]=V}}}var d=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e="sizcache"+(Math.random()+"").replace(".",""),f=0,g=Object.prototype.toString,l=false,m=true,n=/\\/g,t=/\r\n/g,E=/\W/;[0,0].sort(function(){m=false;return 0});
92 var y=function(h,k,u,w){u=u||[];var z=k=k||L;if(k.nodeType!==1&&k.nodeType!==9)return[];if(!h||typeof h!=="string")return u;var B,J,M,V,o,A=true,K=y.isXML(k),F=[],X=h;do{d.exec("");if(B=d.exec(X)){X=B[3];F.push(B[1]);if(B[2]){V=B[3];break}}}while(B);if(F.length>1&&S.exec(h))if(F.length===2&&D.relative[F[0]])J=ia(F[0]+F[1],k,w);else for(J=D.relative[F[0]]?[k]:y(F.shift(),k);F.length;){h=F.shift();if(D.relative[h])h+=F.shift();J=ia(h,J,w)}else{if(!w&&F.length>1&&k.nodeType===9&&!K&&D.match.ID.test(F[0])&&
93 !D.match.ID.test(F[F.length-1])){B=y.find(F.shift(),k,K);k=B.expr?y.filter(B.expr,B.set)[0]:B.set[0]}if(k){B=w?{expr:F.pop(),set:aa(w)}:y.find(F.pop(),F.length===1&&(F[0]==="~"||F[0]==="+")&&k.parentNode?k.parentNode:k,K);J=B.expr?y.filter(B.expr,B.set):B.set;if(F.length>0)M=aa(J);else A=false;for(;F.length;){B=o=F.pop();if(D.relative[o])B=F.pop();else o="";if(B==null)B=k;D.relative[o](M,B,K)}}else M=[]}M||(M=J);M||y.error(o||h);if(g.call(M)==="[object Array]")if(A)if(k&&k.nodeType===1)for(h=0;M[h]!=
94 null;h++){if(M[h]&&(M[h]===true||M[h].nodeType===1&&y.contains(k,M[h])))u.push(J[h])}else for(h=0;M[h]!=null;h++)M[h]&&M[h].nodeType===1&&u.push(J[h]);else u.push.apply(u,M);else aa(M,u);if(V){y(V,z,u,w);y.uniqueSort(u)}return u};y.uniqueSort=function(h){if(T){l=m;h.sort(T);if(l)for(var k=1;k<h.length;k++)h[k]===h[k-1]&&h.splice(k--,1)}return h};y.matches=function(h,k){return y(h,null,null,k)};y.matchesSelector=function(h,k){return y(k,null,null,[h]).length>0};y.find=function(h,k,u){var w,z,B,J,M,
95 V;if(!h)return[];z=0;for(B=D.order.length;z<B;z++){M=D.order[z];if(J=D.leftMatch[M].exec(h)){V=J[1];J.splice(1,1);if(V.substr(V.length-1)!=="\\"){J[1]=(J[1]||"").replace(n,"");w=D.find[M](J,k,u);if(w!=null){h=h.replace(D.match[M],"");break}}}}w||(w=typeof k.getElementsByTagName!=="undefined"?k.getElementsByTagName("*"):[]);return{set:w,expr:h}};y.filter=function(h,k,u,w){for(var z,B,J,M,V,o,A,K,F=h,X=[],U=k,ca=k&&k[0]&&y.isXML(k[0]);h&&k.length;){for(J in D.filter)if((z=D.leftMatch[J].exec(h))!=null&&
96 z[2]){o=D.filter[J];V=z[1];B=false;z.splice(1,1);if(V.substr(V.length-1)!=="\\"){if(U===X)X=[];if(D.preFilter[J])if(z=D.preFilter[J](z,U,u,X,w,ca)){if(z===true)continue}else B=M=true;if(z)for(A=0;(V=U[A])!=null;A++)if(V){M=o(V,z,A,U);K=w^M;if(u&&M!=null)if(K)B=true;else U[A]=false;else if(K){X.push(V);B=true}}if(M!==j){u||(U=X);h=h.replace(D.match[J],"");if(!B)return[];break}}}if(h===F)if(B==null)y.error(h);else break;F=h}return U};y.error=function(h){throw new Error("Syntax error, unrecognized expression: "+
97 h);};var H=y.getText=function(h){var k,u;k=h.nodeType;var w="";if(k)if(k===1||k===9)if(typeof h.textContent==="string")return h.textContent;else if(typeof h.innerText==="string")return h.innerText.replace(t,"");else for(h=h.firstChild;h;h=h.nextSibling)w+=H(h);else{if(k===3||k===4)return h.nodeValue}else for(k=0;u=h[k];k++)if(u.nodeType!==8)w+=H(u);return w},D=y.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,
98 ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(h){return h.getAttribute("href")},
99 type:function(h){return h.getAttribute("type")}},relative:{"+":function(h,k){var u=typeof k==="string",w=u&&!E.test(k);u=u&&!w;if(w)k=k.toLowerCase();w=0;for(var z=h.length,B;w<z;w++)if(B=h[w]){for(;(B=B.previousSibling)&&B.nodeType!==1;);h[w]=u||B&&B.nodeName.toLowerCase()===k?B||false:B===k}u&&y.filter(k,h,true)},">":function(h,k){var u,w=typeof k==="string",z=0,B=h.length;if(w&&!E.test(k))for(k=k.toLowerCase();z<B;z++){if(u=h[z]){u=u.parentNode;h[z]=u.nodeName.toLowerCase()===k?u:false}}else{for(;z<
100 B;z++)if(u=h[z])h[z]=w?u.parentNode:u.parentNode===k;w&&y.filter(k,h,true)}},"":function(h,k,u){var w,z=f++,B=b;if(typeof k==="string"&&!E.test(k)){w=k=k.toLowerCase();B=a}B("parentNode",k,z,h,w,u)},"~":function(h,k,u){var w,z=f++,B=b;if(typeof k==="string"&&!E.test(k)){w=k=k.toLowerCase();B=a}B("previousSibling",k,z,h,w,u)}},find:{ID:function(h,k,u){if(typeof k.getElementById!=="undefined"&&!u)return(h=k.getElementById(h[1]))&&h.parentNode?[h]:[]},NAME:function(h,k){if(typeof k.getElementsByName!==
101 "undefined"){var u=[];k=k.getElementsByName(h[1]);for(var w=0,z=k.length;w<z;w++)k[w].getAttribute("name")===h[1]&&u.push(k[w]);return u.length===0?null:u}},TAG:function(h,k){if(typeof k.getElementsByTagName!=="undefined")return k.getElementsByTagName(h[1])}},preFilter:{CLASS:function(h,k,u,w,z,B){h=" "+h[1].replace(n,"")+" ";if(B)return h;B=0;for(var J;(J=k[B])!=null;B++)if(J)if(z^(J.className&&(" "+J.className+" ").replace(/[\t\n\r]/g," ").indexOf(h)>=0))u||w.push(J);else if(u)k[B]=false;return false},
102 ID:function(h){return h[1].replace(n,"")},TAG:function(h){return h[1].replace(n,"").toLowerCase()},CHILD:function(h){if(h[1]==="nth"){h[2]||y.error(h[0]);h[2]=h[2].replace(/^\+|\s*/g,"");var k=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(h[2]==="even"&&"2n"||h[2]==="odd"&&"2n+1"||!/\D/.test(h[2])&&"0n+"+h[2]||h[2]);h[2]=k[1]+(k[2]||1)-0;h[3]=k[3]-0}else h[2]&&y.error(h[0]);h[0]=f++;return h},ATTR:function(h,k,u,w,z,B){k=h[1]=h[1].replace(n,"");if(!B&&D.attrMap[k])h[1]=D.attrMap[k];h[4]=(h[4]||h[5]||"").replace(n,
103 "");if(h[2]==="~=")h[4]=" "+h[4]+" ";return h},PSEUDO:function(h,k,u,w,z){if(h[1]==="not")if((d.exec(h[3])||"").length>1||/^\w/.test(h[3]))h[3]=y(h[3],null,null,k);else{h=y.filter(h[3],k,u,true^z);u||w.push.apply(w,h);return false}else if(D.match.POS.test(h[0])||D.match.CHILD.test(h[0]))return true;return h},POS:function(h){h.unshift(true);return h}},filters:{enabled:function(h){return h.disabled===false&&h.type!=="hidden"},disabled:function(h){return h.disabled===true},checked:function(h){return h.checked===
104 true},selected:function(h){return h.selected===true},parent:function(h){return!!h.firstChild},empty:function(h){return!h.firstChild},has:function(h,k,u){return!!y(u[3],h).length},header:function(h){return/h\d/i.test(h.nodeName)},text:function(h){var k=h.getAttribute("type"),u=h.type;return h.nodeName.toLowerCase()==="input"&&"text"===u&&(k===u||k===null)},radio:function(h){return h.nodeName.toLowerCase()==="input"&&"radio"===h.type},checkbox:function(h){return h.nodeName.toLowerCase()==="input"&&
105 "checkbox"===h.type},file:function(h){return h.nodeName.toLowerCase()==="input"&&"file"===h.type},password:function(h){return h.nodeName.toLowerCase()==="input"&&"password"===h.type},submit:function(h){var k=h.nodeName.toLowerCase();return(k==="input"||k==="button")&&"submit"===h.type},image:function(h){return h.nodeName.toLowerCase()==="input"&&"image"===h.type},reset:function(h){var k=h.nodeName.toLowerCase();return(k==="input"||k==="button")&&"reset"===h.type},button:function(h){var k=h.nodeName.toLowerCase();
106 return k==="input"&&"button"===h.type||k==="button"},input:function(h){return/input|select|textarea|button/i.test(h.nodeName)},focus:function(h){return h===h.ownerDocument.activeElement}},setFilters:{first:function(h,k){return k===0},last:function(h,k,u,w){return k===w.length-1},even:function(h,k){return k%2===0},odd:function(h,k){return k%2===1},lt:function(h,k,u){return k<u[3]-0},gt:function(h,k,u){return k>u[3]-0},nth:function(h,k,u){return u[3]-0===k},eq:function(h,k,u){return u[3]-0===k}},filter:{PSEUDO:function(h,
107 k,u,w){var z=k[1],B=D.filters[z];if(B)return B(h,u,k,w);else if(z==="contains")return(h.textContent||h.innerText||H([h])||"").indexOf(k[3])>=0;else if(z==="not"){k=k[3];u=0;for(w=k.length;u<w;u++)if(k[u]===h)return false;return true}else y.error(z)},CHILD:function(h,k){var u,w,z,B;u=k[1];var J=h;switch(u){case "only":case "first":for(;J=J.previousSibling;)if(J.nodeType===1)return false;if(u==="first")return true;J=h;case "last":for(;J=J.nextSibling;)if(J.nodeType===1)return false;return true;case "nth":u=
108 k[2];w=k[3];if(u===1&&w===0)return true;k=k[0];if((z=h.parentNode)&&(z[e]!==k||!h.nodeIndex)){B=0;for(J=z.firstChild;J;J=J.nextSibling)if(J.nodeType===1)J.nodeIndex=++B;z[e]=k}h=h.nodeIndex-w;return u===0?h===0:h%u===0&&h/u>=0}},ID:function(h,k){return h.nodeType===1&&h.getAttribute("id")===k},TAG:function(h,k){return k==="*"&&h.nodeType===1||!!h.nodeName&&h.nodeName.toLowerCase()===k},CLASS:function(h,k){return(" "+(h.className||h.getAttribute("class"))+" ").indexOf(k)>-1},ATTR:function(h,k){var u=
109 k[1];h=y.attr?y.attr(h,u):D.attrHandle[u]?D.attrHandle[u](h):h[u]!=null?h[u]:h.getAttribute(u);u=h+"";var w=k[2];k=k[4];return h==null?w==="!=":!w&&y.attr?h!=null:w==="="?u===k:w==="*="?u.indexOf(k)>=0:w==="~="?(" "+u+" ").indexOf(k)>=0:!k?u&&h!==false:w==="!="?u!==k:w==="^="?u.indexOf(k)===0:w==="$="?u.substr(u.length-k.length)===k:w==="|="?u===k||u.substr(0,k.length+1)===k+"-":false},POS:function(h,k,u,w){var z=D.setFilters[k[2]];if(z)return z(h,u,k,w)}}},S=D.match.POS,$=function(h,k){return"\\"+
110 (k-0+1)};for(var ba in D.match){D.match[ba]=new RegExp(D.match[ba].source+/(?![^\[]*\])(?![^\(]*\))/.source);D.leftMatch[ba]=new RegExp(/(^(?:.|\r|\n)*?)/.source+D.match[ba].source.replace(/\\(\d+)/g,$))}var aa=function(h,k){h=Array.prototype.slice.call(h,0);if(k){k.push.apply(k,h);return k}return h};try{Array.prototype.slice.call(L.documentElement.childNodes,0)}catch(na){aa=function(h,k){var u=0;k=k||[];if(g.call(h)==="[object Array]")Array.prototype.push.apply(k,h);else if(typeof h.length==="number")for(var w=
111 h.length;u<w;u++)k.push(h[u]);else for(;h[u];u++)k.push(h[u]);return k}}var T,ma;if(L.documentElement.compareDocumentPosition)T=function(h,k){if(h===k){l=true;return 0}if(!h.compareDocumentPosition||!k.compareDocumentPosition)return h.compareDocumentPosition?-1:1;return h.compareDocumentPosition(k)&4?-1:1};else{T=function(h,k){if(h===k){l=true;return 0}else if(h.sourceIndex&&k.sourceIndex)return h.sourceIndex-k.sourceIndex;var u,w,z=[],B=[];u=h.parentNode;w=k.parentNode;var J=u;if(u===w)return ma(h,
112 k);else if(u){if(!w)return 1}else return-1;for(;J;){z.unshift(J);J=J.parentNode}for(J=w;J;){B.unshift(J);J=J.parentNode}u=z.length;w=B.length;for(J=0;J<u&&J<w;J++)if(z[J]!==B[J])return ma(z[J],B[J]);return J===u?ma(h,B[J],-1):ma(z[J],k,1)};ma=function(h,k,u){if(h===k)return u;for(h=h.nextSibling;h;){if(h===k)return-1;h=h.nextSibling}return 1}}(function(){var h=L.createElement("div"),k="script"+(new Date).getTime(),u=L.documentElement;h.innerHTML="<a name='"+k+"'/>";u.insertBefore(h,u.firstChild);
113 if(L.getElementById(k)){D.find.ID=function(w,z,B){if(typeof z.getElementById!=="undefined"&&!B)return(z=z.getElementById(w[1]))?z.id===w[1]||typeof z.getAttributeNode!=="undefined"&&z.getAttributeNode("id").nodeValue===w[1]?[z]:j:[]};D.filter.ID=function(w,z){var B=typeof w.getAttributeNode!=="undefined"&&w.getAttributeNode("id");return w.nodeType===1&&B&&B.nodeValue===z}}u.removeChild(h);u=h=null})();(function(){var h=L.createElement("div");h.appendChild(L.createComment(""));if(h.getElementsByTagName("*").length>
114 0)D.find.TAG=function(k,u){u=u.getElementsByTagName(k[1]);if(k[1]==="*"){k=[];for(var w=0;u[w];w++)u[w].nodeType===1&&k.push(u[w]);u=k}return u};h.innerHTML="<a href='#'></a>";if(h.firstChild&&typeof h.firstChild.getAttribute!=="undefined"&&h.firstChild.getAttribute("href")!=="#")D.attrHandle.href=function(k){return k.getAttribute("href",2)};h=null})();L.querySelectorAll&&function(){var h=y,k=L.createElement("div");k.innerHTML="<p class='TEST'></p>";if(!(k.querySelectorAll&&k.querySelectorAll(".TEST").length===
115 0)){y=function(w,z,B,J){z=z||L;if(!J&&!y.isXML(z)){var M=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(w);if(M&&(z.nodeType===1||z.nodeType===9))if(M[1])return aa(z.getElementsByTagName(w),B);else if(M[2]&&D.find.CLASS&&z.getElementsByClassName)return aa(z.getElementsByClassName(M[2]),B);if(z.nodeType===9){if(w==="body"&&z.body)return aa([z.body],B);else if(M&&M[3]){var V=z.getElementById(M[3]);if(V&&V.parentNode){if(V.id===M[3])return aa([V],B)}else return aa([],B)}try{return aa(z.querySelectorAll(w),
116 B)}catch(o){}}else if(z.nodeType===1&&z.nodeName.toLowerCase()!=="object"){M=z;var A=(V=z.getAttribute("id"))||"__sizzle__",K=z.parentNode,F=/^\s*[+~]/.test(w);if(V)A=A.replace(/'/g,"\\$&");else z.setAttribute("id",A);if(F&&K)z=z.parentNode;try{if(!F||K)return aa(z.querySelectorAll("[id='"+A+"'] "+w),B)}catch(X){}finally{V||M.removeAttribute("id")}}}return h(w,z,B,J)};for(var u in h)y[u]=h[u];k=null}}();(function(){var h=L.documentElement,k=h.matchesSelector||h.mozMatchesSelector||h.webkitMatchesSelector||
117 h.msMatchesSelector;if(k){var u=!k.call(L.createElement("div"),"div"),w=false;try{k.call(L.documentElement,"[test!='']:sizzle")}catch(z){w=true}y.matchesSelector=function(B,J){J=J.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!y.isXML(B))try{if(w||!D.match.PSEUDO.test(J)&&!/!=/.test(J)){var M=k.call(B,J);if(M||!u||B.document&&B.document.nodeType!==11)return M}}catch(V){}return y(J,null,null,[B]).length>0}}})();(function(){var h=L.createElement("div");h.innerHTML="<div class='test e'></div><div class='test'></div>";
118 if(!(!h.getElementsByClassName||h.getElementsByClassName("e").length===0)){h.lastChild.className="e";if(h.getElementsByClassName("e").length!==1){D.order.splice(1,0,"CLASS");D.find.CLASS=function(k,u,w){if(typeof u.getElementsByClassName!=="undefined"&&!w)return u.getElementsByClassName(k[1])};h=null}}})();y.contains=L.documentElement.contains?function(h,k){return h!==k&&(h.contains?h.contains(k):true)}:L.documentElement.compareDocumentPosition?function(h,k){return!!(h.compareDocumentPosition(k)&
119 16)}:function(){return false};y.isXML=function(h){return(h=(h?h.ownerDocument||h:0).documentElement)?h.nodeName!=="HTML":false};var ia=function(h,k,u){var w,z=[],B="";for(k=k.nodeType?[k]:k;w=D.match.PSEUDO.exec(h);){B+=w[0];h=h.replace(D.match.PSEUDO,"")}h=D.relative[h]?h+"*":h;w=0;for(var J=k.length;w<J;w++)y(h,k[w],z,u);return y.filter(B,z)};y.attr=c.attr;y.selectors.attrMap={};c.find=y;c.expr=y.selectors;c.expr[":"]=c.expr.filters;c.unique=y.uniqueSort;c.text=y.getText;c.isXMLDoc=y.isXML;c.contains=
120 y.contains})();var bc=/Until$/,cc=/^(?:parents|prevUntil|prevAll)/,dc=/,/,Ib=/^.[^:#\[\.,]*$/,ec=Array.prototype.slice,ob=c.expr.match.POS,fc={children:true,contents:true,next:true,prev:true};c.fn.extend({find:function(a){var b=this,d,e;if(typeof a!=="string")return c(a).filter(function(){d=0;for(e=b.length;d<e;d++)if(c.contains(b[d],this))return true});var f=this.pushStack("","find",a),g,l,m;d=0;for(e=this.length;d<e;d++){g=f.length;c.find(a,this[d],f);if(d>0)for(l=g;l<f.length;l++)for(m=0;m<g;m++)if(f[m]===
121 f[l]){f.splice(l--,1);break}}return f},has:function(a){var b=c(a);return this.filter(function(){for(var d=0,e=b.length;d<e;d++)if(c.contains(this,b[d]))return true})},not:function(a){return this.pushStack(G(this,a,false),"not",a)},filter:function(a){return this.pushStack(G(this,a,true),"filter",a)},is:function(a){return!!a&&(typeof a==="string"?ob.test(a)?c(a,this.context).index(this[0])>=0:c.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var d=[],e,f,g=this[0];if(c.isArray(a)){for(f=
122 1;g&&g.ownerDocument&&g!==b;){for(e=0;e<a.length;e++)c(g).is(a[e])&&d.push({selector:a[e],elem:g,level:f});g=g.parentNode;f++}return d}var l=ob.test(a)||typeof a!=="string"?c(a,b||this.context):0;e=0;for(f=this.length;e<f;e++)for(g=this[e];g;)if(l?l.index(g)>-1:c.find.matchesSelector(g,a)){d.push(g);break}else{g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}d=d.length>1?c.unique(d):d;return this.pushStack(d,"closest",a)},index:function(a){if(!a)return this[0]&&this[0].parentNode?
123 this.prevAll().length:-1;if(typeof a==="string")return c.inArray(this[0],c(a));return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a==="string"?c(a,b):c.makeArray(a&&a.nodeType?[a]:a);b=c.merge(this.get(),a);return this.pushStack(C(a[0])||C(b[0])?b:c.unique(b))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,
124 "parentNode",d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,
125 "iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,e){var f=c.map(this,b,d);bc.test(a)||(e=d);if(e&&typeof e==="string")f=c.filter(e,f);f=this.length>1&&!fc[a]?c.unique(f):f;if((this.length>1||dc.test(e))&&cc.test(a))f=f.reverse();return this.pushStack(f,a,ec.call(arguments).join(","))}});c.extend({filter:function(a,b,d){if(d)a=":not("+a+")";return b.length===1?c.find.matchesSelector(b[0],a)?[b[0]]:[]:c.find.matches(a,b)},dir:function(a,
126 b,d){var e=[];for(a=a[b];a&&a.nodeType!==9&&(d===j||a.nodeType!==1||!c(a).is(d));){a.nodeType===1&&e.push(a);a=a[b]}return e},nth:function(a,b,d){b=b||1;for(var e=0;a;a=a[d])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var $a="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",gc=/ jQuery\d+="(?:\d+|null)"/g,
127 Ua=/^\s+/,pb=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,qb=/<([\w:]+)/,hc=/<tbody/i,ic=/<|&#?\w+;/,jc=/<(?:script|style)/i,kc=/<(?:script|object|embed|option|style)/i,rb=new RegExp("<(?:"+$a+")","i"),sb=/checked\s*(?:[^=]|=\s*.checked.)/i,lc=/\/(java|ecma)script/i,Jb=/^\s*<!(?:\[CDATA\[|\-\-)/,ga={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,
128 "<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},ab=I(L);ga.optgroup=ga.option;ga.tbody=ga.tfoot=ga.colgroup=ga.caption=ga.thead;ga.th=ga.td;if(!c.support.htmlSerialize)ga._default=[1,"div<div>","</div>"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d=c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==j)return this.empty().append((this[0]&&
129 this[0].ownerDocument||L).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,d))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var d=this;d.firstChild&&d.firstChild.nodeType===1;)d=d.firstChild;return d}).append(this)}return this},wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});
130 return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){var b=c.isFunction(a);return this.each(function(d){c(this).wrapAll(b?a.call(this,d):a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===
131 1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=c.clean(arguments);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,
132 "after",arguments);a.push.apply(a,c.clean(arguments));return a}},remove:function(a,b){for(var d=0,e;(e=this[d])!=null;d++)if(!a||c.filter(a,[e]).length){if(!b&&e.nodeType===1){c.cleanData(e.getElementsByTagName("*"));c.cleanData([e])}e.parentNode&&e.parentNode.removeChild(e)}return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild);return this},clone:function(a,b){a=a==null?false:a;b=b==
133 null?a:b;return this.map(function(){return c.clone(this,a,b)})},html:function(a){if(a===j)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(gc,""):null;else if(typeof a==="string"&&!jc.test(a)&&(c.support.leadingWhitespace||!Ua.test(a))&&!ga[(qb.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(pb,"<$1></$2>");try{for(var b=0,d=this.length;b<d;b++)if(this[b].nodeType===1){c.cleanData(this[b].getElementsByTagName("*"));this[b].innerHTML=a}}catch(e){this.empty().append(a)}}else c.isFunction(a)?
134 this.each(function(f){var g=c(this);g.html(a.call(this,f,g.html()))}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(c.isFunction(a))return this.each(function(b){var d=c(this),e=d.html();d.replaceWith(a.call(this,b,e))});if(typeof a!=="string")a=c(a).detach();return this.each(function(){var b=this.nextSibling,d=this.parentNode;c(this).remove();b?c(b).before(a):c(d).append(a)})}else return this.length?this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",
135 a):this},detach:function(a){return this.remove(a,true)},domManip:function(a,b,d){var e,f,g,l=a[0],m=[];if(!c.support.checkClone&&arguments.length===3&&typeof l==="string"&&sb.test(l))return this.each(function(){c(this).domManip(a,b,d,true)});if(c.isFunction(l))return this.each(function(y){var H=c(this);a[0]=l.call(this,y,b?H.html():j);H.domManip(a,b,d)});if(this[0]){e=l&&l.parentNode;e=c.support.parentNode&&e&&e.nodeType===11&&e.childNodes.length===this.length?{fragment:e}:c.buildFragment(a,this,
136 m);g=e.fragment;if(f=g.childNodes.length===1?(g=g.firstChild):g.firstChild){b=b&&c.nodeName(f,"tr");for(var n=0,t=this.length,E=t-1;n<t;n++)d.call(b?N(this[n],f):this[n],e.cacheable||t>1&&n<E?c.clone(g,true,true):g)}m.length&&c.each(m,ua)}return this}});c.buildFragment=function(a,b,d){var e,f,g,l,m=a[0];if(b&&b[0])l=b[0].ownerDocument||b[0];l.createDocumentFragment||(l=L);if(a.length===1&&typeof m==="string"&&m.length<512&&l===L&&m.charAt(0)==="<"&&!kc.test(m)&&(c.support.checkClone||!sb.test(m))&&
137 (c.support.html5Clone||!rb.test(m))){f=true;if((g=c.fragments[m])&&g!==1)e=g}if(!e){e=l.createDocumentFragment();c.clean(a,l,e,d)}if(f)c.fragments[m]=g?e:1;return{fragment:e,cacheable:f}};c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var e=[];d=c(d);var f=this.length===1&&this[0].parentNode;if(f&&f.nodeType===11&&f.childNodes.length===1&&d.length===1){d[b](this[0]);return this}else{f=
138 0;for(var g=d.length;f<g;f++){var l=(f>0?this.clone(true):this).get();c(d[f])[b](l);e=e.concat(l)}return this.pushStack(e,a,d.selector)}}});c.extend({clone:function(a,b,d){var e,f,g,l=c.support.html5Clone||!rb.test("<"+a.nodeName)?a.cloneNode(true):ta(a);if((!c.support.noCloneEvent||!c.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!c.isXMLDoc(a)){Q(a,l);e=P(a);f=P(l);for(g=0;e[g];++g)f[g]&&Q(e[g],f[g])}if(b){O(a,l);if(d){e=P(a);f=P(l);for(g=0;e[g];++g)O(e[g],f[g])}}return l},clean:function(a,
139 b,d,e){b=b||L;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||L;for(var f=[],g,l=0,m;(m=a[l])!=null;l++){if(typeof m==="number")m+="";if(m){if(typeof m==="string")if(ic.test(m)){m=m.replace(pb,"<$1></$2>");g=(qb.exec(m)||["",""])[1].toLowerCase();var n=ga[g]||ga._default,t=n[0],E=b.createElement("div");b===L?ab.appendChild(E):I(b).appendChild(E);for(E.innerHTML=n[1]+m+n[2];t--;)E=E.lastChild;if(!c.support.tbody){t=hc.test(m);n=g==="table"&&!t?E.firstChild&&E.firstChild.childNodes:
140 n[1]==="<table>"&&!t?E.childNodes:[];for(g=n.length-1;g>=0;--g)c.nodeName(n[g],"tbody")&&!n[g].childNodes.length&&n[g].parentNode.removeChild(n[g])}!c.support.leadingWhitespace&&Ua.test(m)&&E.insertBefore(b.createTextNode(Ua.exec(m)[0]),E.firstChild);m=E.childNodes}else m=b.createTextNode(m);var y;if(!c.support.appendChecked)if(m[0]&&typeof(y=m.length)==="number")for(g=0;g<y;g++)ea(m[g]);else ea(m);if(m.nodeType)f.push(m);else f=c.merge(f,m)}}if(d){a=function(H){return!H.type||lc.test(H.type)};for(l=
141 0;f[l];l++)if(e&&c.nodeName(f[l],"script")&&(!f[l].type||f[l].type.toLowerCase()==="text/javascript"))e.push(f[l].parentNode?f[l].parentNode.removeChild(f[l]):f[l]);else{if(f[l].nodeType===1){b=c.grep(f[l].getElementsByTagName("script"),a);f.splice.apply(f,[l+1,0].concat(b))}d.appendChild(f[l])}}return f},cleanData:function(a){for(var b,d,e=c.cache,f=c.event.special,g=c.support.deleteExpando,l=0,m;(m=a[l])!=null;l++)if(!(m.nodeName&&c.noData[m.nodeName.toLowerCase()]))if(d=m[c.expando]){if((b=e[d])&&
142 b.events){for(var n in b.events)f[n]?c.event.remove(m,n):c.removeEvent(m,n,b.handle);if(b.handle)b.handle.elem=null}if(g)delete m[c.expando];else m.removeAttribute&&m.removeAttribute(c.expando);delete e[d]}}});var Va=/alpha\([^)]*\)/i,mc=/opacity=([^)]*)/,nc=/([A-Z]|^ms)/g,tb=/^-?\d+(?:px)?$/i,oc=/^-?\d/,pc=/^([\-+])=([\-+.\de]+)/,qc={position:"absolute",visibility:"hidden",display:"block"},Kb=["Left","Right"],Lb=["Top","Bottom"],wa,ub,vb;c.fn.css=function(a,b){if(arguments.length===2&&b===j)return this;
143 return c.access(this,a,b,true,function(d,e,f){return f!==j?c.style(d,e,f):c.css(d,e)})};c.extend({cssHooks:{opacity:{get:function(a,b){if(b){a=wa(a,"opacity","opacity");return a===""?"1":a}else return a.style.opacity}}},cssNumber:{fillOpacity:true,fontWeight:true,lineHeight:true,opacity:true,orphans:true,widows:true,zIndex:true,zoom:true},cssProps:{"float":c.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,d,e){if(!(!a||a.nodeType===3||a.nodeType===8||!a.style)){var f,g=c.camelCase(b),
144 l=a.style,m=c.cssHooks[g];b=c.cssProps[g]||g;if(d!==j){e=typeof d;if(e==="string"&&(f=pc.exec(d))){d=+(f[1]+1)*+f[2]+parseFloat(c.css(a,b));e="number"}if(!(d==null||e==="number"&&isNaN(d))){if(e==="number"&&!c.cssNumber[g])d+="px";if(!m||!("set"in m)||(d=m.set(a,d))!==j)try{l[b]=d}catch(n){}}}else{if(m&&"get"in m&&(f=m.get(a,false,e))!==j)return f;return l[b]}}},css:function(a,b,d){var e,f;b=c.camelCase(b);f=c.cssHooks[b];b=c.cssProps[b]||b;if(b==="cssFloat")b="float";if(f&&"get"in f&&(e=f.get(a,
145 true,d))!==j)return e;else if(wa)return wa(a,b)},swap:function(a,b,d){var e={};for(var f in b){e[f]=a.style[f];a.style[f]=b[f]}d.call(a);for(f in b)a.style[f]=e[f]}});c.curCSS=c.css;c.each(["height","width"],function(a,b){c.cssHooks[b]={get:function(d,e,f){var g;if(e){if(d.offsetWidth!==0)return va(d,b,f);else c.swap(d,qc,function(){g=va(d,b,f)});return g}},set:function(d,e){if(tb.test(e)){e=parseFloat(e);if(e>=0)return e+"px"}else return e}}});if(!c.support.opacity)c.cssHooks.opacity={get:function(a,
146 b){return mc.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var d=a.style;a=a.currentStyle;var e=c.isNumeric(b)?"alpha(opacity="+b*100+")":"",f=a&&a.filter||d.filter||"";d.zoom=1;if(b>=1&&c.trim(f.replace(Va,""))===""){d.removeAttribute("filter");if(a&&!a.filter)return}d.filter=Va.test(f)?f.replace(Va,e):f+" "+e}};c(function(){if(!c.support.reliableMarginRight)c.cssHooks.marginRight={get:function(a,b){var d;c.swap(a,{display:"inline-block"},
147 function(){d=b?wa(a,"margin-right","marginRight"):a.style.marginRight});return d}}});if(L.defaultView&&L.defaultView.getComputedStyle)ub=function(a,b){var d,e,f;b=b.replace(nc,"-$1").toLowerCase();if((e=a.ownerDocument.defaultView)&&(f=e.getComputedStyle(a,null))){d=f.getPropertyValue(b);if(d===""&&!c.contains(a.ownerDocument.documentElement,a))d=c.style(a,b)}return d};if(L.documentElement.currentStyle)vb=function(a,b){var d,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;if(f===null&&g&&(d=g[b]))f=
148 d;if(!tb.test(f)&&oc.test(f)){d=g.left;if(e=a.runtimeStyle&&a.runtimeStyle.left)a.runtimeStyle.left=a.currentStyle.left;g.left=b==="fontSize"?"1em":f||0;f=g.pixelLeft+"px";g.left=d;if(e)a.runtimeStyle.left=e}return f===""?"auto":f};wa=ub||vb;if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b=a.offsetHeight;return a.offsetWidth===0&&b===0||!c.support.reliableHiddenOffsets&&(a.style&&a.style.display||c.css(a,"display"))==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var rc=
149 /%20/g,Mb=/\[\]$/,wb=/\r?\n/g,sc=/#.*$/,tc=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,uc=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,vc=/^(?:GET|HEAD)$/,wc=/^\/\//,xb=/\?/,xc=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,yc=/^(?:select|textarea)/i,bb=/\s+/,zc=/([?&])_=[^&]*/,yb=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,zb=c.fn.load,Na={},Ab={},ra,sa,Bb=["*/"]+["*"];try{ra=Rb.href}catch(Kc){ra=L.createElement("a");ra.href="";
150 ra=ra.href}sa=yb.exec(ra.toLowerCase())||[];c.fn.extend({load:function(a,b,d){if(typeof a!=="string"&&zb)return zb.apply(this,arguments);else if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var f=a.slice(e,a.length);a=a.slice(0,e)}e="GET";if(b)if(c.isFunction(b)){d=b;b=j}else if(typeof b==="object"){b=c.param(b,c.ajaxSettings.traditional);e="POST"}var g=this;c.ajax({url:a,type:e,dataType:"html",data:b,complete:function(l,m,n){n=l.responseText;if(l.isResolved()){l.done(function(t){n=t});
151 g.html(f?c("<div>").append(n.replace(xc,"")).find(f):n)}d&&g.each(d,[n,m,l])}});return this},serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||yc.test(this.nodeName)||uc.test(this.type))}).map(function(a,b){a=c(this).val();return a==null?null:c.isArray(a)?c.map(a,function(d){return{name:b.name,value:d.replace(wb,"\r\n")}}):
152 {name:b.name,value:a.replace(wb,"\r\n")}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){c.fn[b]=function(d){return this.on(b,d)}});c.each(["get","post"],function(a,b){c[b]=function(d,e,f,g){if(c.isFunction(e)){g=g||f;f=e;e=j}return c.ajax({type:b,url:d,data:e,success:f,dataType:g})}});c.extend({getScript:function(a,b){return c.get(a,j,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},ajaxSetup:function(a,b){if(b)Ba(a,c.ajaxSettings);
153 else{b=a;a=c.ajaxSettings}Ba(a,b);return a},ajaxSettings:{url:ra,isLocal:/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/.test(sa[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":Bb},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":i.String,
154 "text html":true,"text json":c.parseJSON,"text xml":c.parseXML},flatOptions:{context:true,url:true}},ajaxPrefilter:Ea(Na),ajaxTransport:Ea(Ab),ajax:function(a,b){function d(h,k,u,w){if(ba!==2){ba=2;$&&clearTimeout($);S=j;H=w||"";T.readyState=h>0?4:0;var z,B,J;w=k;u=u?Oa(e,T,u):j;var M;if(h>=200&&h<300||h===304){if(e.ifModified){if(M=T.getResponseHeader("Last-Modified"))c.lastModified[t]=M;if(M=T.getResponseHeader("Etag"))c.etag[t]=M}if(h===304){w="notmodified";z=true}else try{B=Nb(e,u);w="success";
155 z=true}catch(V){w="parsererror";J=V}}else{J=w;if(!w||h){w="error";if(h<0)h=0}}T.status=h;T.statusText=""+(k||w);z?l.resolveWith(f,[B,w,T]):l.rejectWith(f,[T,w,J]);T.statusCode(n);n=j;if(aa)g.trigger("ajax"+(z?"Success":"Error"),[T,e,z?B:J]);m.fireWith(f,[T,w]);if(aa){g.trigger("ajaxComplete",[T,e]);--c.active||c.event.trigger("ajaxStop")}}}if(typeof a==="object"){b=a;a=j}b=b||{};var e=c.ajaxSetup({},b),f=e.context||e,g=f!==e&&(f.nodeType||f instanceof c)?c(f):c.event,l=c.Deferred(),m=c.Callbacks("once memory"),
156 n=e.statusCode||{},t,E={},y={},H,D,S,$,ba=0,aa,na,T={readyState:0,setRequestHeader:function(h,k){if(!ba){var u=h.toLowerCase();h=y[u]=y[u]||h;E[h]=k}return this},getAllResponseHeaders:function(){return ba===2?H:null},getResponseHeader:function(h){var k;if(ba===2){if(!D)for(D={};k=tc.exec(H);)D[k[1].toLowerCase()]=k[2];k=D[h.toLowerCase()]}return k===j?null:k},overrideMimeType:function(h){if(!ba)e.mimeType=h;return this},abort:function(h){h=h||"abort";S&&S.abort(h);d(0,h);return this}};l.promise(T);
157 T.success=T.done;T.error=T.fail;T.complete=m.add;T.statusCode=function(h){if(h){var k;if(ba<2)for(k in h)n[k]=[n[k],h[k]];else{k=h[T.status];T.then(k,k)}}return this};e.url=((a||e.url)+"").replace(sc,"").replace(wc,sa[1]+"//");e.dataTypes=c.trim(e.dataType||"*").toLowerCase().split(bb);if(e.crossDomain==null){a=yb.exec(e.url.toLowerCase());e.crossDomain=!!(a&&(a[1]!=sa[1]||a[2]!=sa[2]||(a[3]||(a[1]==="http:"?80:443))!=(sa[3]||(sa[1]==="http:"?80:443))))}if(e.data&&e.processData&&typeof e.data!=="string")e.data=
158 c.param(e.data,e.traditional);fa(Na,e,b,T);if(ba===2)return false;aa=e.global;e.type=e.type.toUpperCase();e.hasContent=!vc.test(e.type);aa&&c.active++===0&&c.event.trigger("ajaxStart");if(!e.hasContent){if(e.data){e.url+=(xb.test(e.url)?"&":"?")+e.data;delete e.data}t=e.url;if(e.cache===false){a=c.now();var ma=e.url.replace(zc,"$1_="+a);e.url=ma+(ma===e.url?(xb.test(e.url)?"&":"?")+"_="+a:"")}}if(e.data&&e.hasContent&&e.contentType!==false||b.contentType)T.setRequestHeader("Content-Type",e.contentType);
159 if(e.ifModified){t=t||e.url;c.lastModified[t]&&T.setRequestHeader("If-Modified-Since",c.lastModified[t]);c.etag[t]&&T.setRequestHeader("If-None-Match",c.etag[t])}T.setRequestHeader("Accept",e.dataTypes[0]&&e.accepts[e.dataTypes[0]]?e.accepts[e.dataTypes[0]]+(e.dataTypes[0]!=="*"?", "+Bb+"; q=0.01":""):e.accepts["*"]);for(na in e.headers)T.setRequestHeader(na,e.headers[na]);if(e.beforeSend&&(e.beforeSend.call(f,T,e)===false||ba===2)){T.abort();return false}for(na in{success:1,error:1,complete:1})T[na](e[na]);
160 if(S=fa(Ab,e,b,T)){T.readyState=1;aa&&g.trigger("ajaxSend",[T,e]);if(e.async&&e.timeout>0)$=setTimeout(function(){T.abort("timeout")},e.timeout);try{ba=1;S.send(E,d)}catch(ia){if(ba<2)d(-1,ia);else throw ia;}}else d(-1,"No Transport");return T},param:function(a,b){var d=[],e=function(g,l){l=c.isFunction(l)?l():l;d[d.length]=encodeURIComponent(g)+"="+encodeURIComponent(l)};if(b===j)b=c.ajaxSettings.traditional;if(c.isArray(a)||a.jquery&&!c.isPlainObject(a))c.each(a,function(){e(this.name,this.value)});
161 else for(var f in a)xa(f,a[f],b,e);return d.join("&").replace(rc,"+")}});c.extend({active:0,lastModified:{},etag:{}});var Ac=c.now(),Ha=/(\=)\?(&|$)|\?\?/i;c.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return c.expando+"_"+Ac++}});c.ajaxPrefilter("json jsonp",function(a,b,d){b=a.contentType==="application/x-www-form-urlencoded"&&typeof a.data==="string";if(a.dataTypes[0]==="jsonp"||a.jsonp!==false&&(Ha.test(a.url)||b&&Ha.test(a.data))){var e,f=a.jsonpCallback=c.isFunction(a.jsonpCallback)?
162 a.jsonpCallback():a.jsonpCallback,g=i[f],l=a.url,m=a.data,n="$1"+f+"$2";if(a.jsonp!==false){l=l.replace(Ha,n);if(a.url===l){if(b)m=m.replace(Ha,n);if(a.data===m)l+=(/\?/.test(l)?"&":"?")+a.jsonp+"="+f}}a.url=l;a.data=m;i[f]=function(t){e=[t]};d.always(function(){i[f]=g;e&&c.isFunction(g)&&i[f](e[0])});a.converters["script json"]=function(){e||c.error(f+" was not called");return e[0]};a.dataTypes[0]="json";return"script"}});c.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},
163 contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){c.globalEval(a);return a}}});c.ajaxPrefilter("script",function(a){if(a.cache===j)a.cache=false;if(a.crossDomain){a.type="GET";a.global=false}});c.ajaxTransport("script",function(a){if(a.crossDomain){var b,d=L.head||L.getElementsByTagName("head")[0]||L.documentElement;return{send:function(e,f){b=L.createElement("script");b.async="async";if(a.scriptCharset)b.charset=a.scriptCharset;b.src=a.url;b.onload=b.onreadystatechange=
164 function(g,l){if(l||!b.readyState||/loaded|complete/.test(b.readyState)){b.onload=b.onreadystatechange=null;d&&b.parentNode&&d.removeChild(b);b=j;l||f(200,"success")}};d.insertBefore(b,d.firstChild)},abort:function(){b&&b.onload(0,1)}}}});var Wa=i.ActiveXObject?function(){for(var a in Aa)Aa[a](0,1)}:false,Bc=0,Aa;c.ajaxSettings.xhr=i.ActiveXObject?function(){return!this.isLocal&&cb()||Ob()}:cb;(function(a){c.extend(c.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})})(c.ajaxSettings.xhr());c.support.ajax&&
165 c.ajaxTransport(function(a){if(!a.crossDomain||c.support.cors){var b;return{send:function(d,e){var f=a.xhr(),g,l;a.username?f.open(a.type,a.url,a.async,a.username,a.password):f.open(a.type,a.url,a.async);if(a.xhrFields)for(l in a.xhrFields)f[l]=a.xhrFields[l];a.mimeType&&f.overrideMimeType&&f.overrideMimeType(a.mimeType);if(!a.crossDomain&&!d["X-Requested-With"])d["X-Requested-With"]="XMLHttpRequest";try{for(l in d)f.setRequestHeader(l,d[l])}catch(m){}f.send(a.hasContent&&a.data||null);b=function(n,
166 t){var E,y,H,D,S;try{if(b&&(t||f.readyState===4)){b=j;if(g){f.onreadystatechange=c.noop;Wa&&delete Aa[g]}if(t)f.readyState!==4&&f.abort();else{E=f.status;H=f.getAllResponseHeaders();D={};if((S=f.responseXML)&&S.documentElement)D.xml=S;D.text=f.responseText;try{y=f.statusText}catch($){y=""}if(!E&&a.isLocal&&!a.crossDomain)E=D.text?200:404;else if(E===1223)E=204}}}catch(ba){t||e(-1,ba)}D&&e(E,y,D,H)};if(!a.async||f.readyState===4)b();else{g=++Bc;if(Wa){if(!Aa){Aa={};c(i).unload(Wa)}Aa[g]=b}f.onreadystatechange=
167 b}},abort:function(){b&&b(0,1)}}}});var Pa={},la,za,Cc=/^(?:toggle|show|hide)$/,Dc=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,Ia,eb=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],Fa;c.fn.extend({show:function(a,b,d){if(a||a===0)return this.animate(ya("show",3),a,b,d);else{d=0;for(var e=this.length;d<e;d++){a=this[d];if(a.style){b=a.style.display;if(!c._data(a,"olddisplay")&&b==="none")b=a.style.display="";
168 b===""&&c.css(a,"display")==="none"&&c._data(a,"olddisplay",fb(a.nodeName))}}for(d=0;d<e;d++){a=this[d];if(a.style){b=a.style.display;if(b===""||b==="none")a.style.display=c._data(a,"olddisplay")||""}}return this}},hide:function(a,b,d){if(a||a===0)return this.animate(ya("hide",3),a,b,d);else{d=0;for(var e=this.length;d<e;d++){a=this[d];if(a.style){b=c.css(a,"display");b!=="none"&&!c._data(a,"olddisplay")&&c._data(a,"olddisplay",b)}}for(d=0;d<e;d++)if(this[d].style)this[d].style.display="none";return this}},
169 _toggle:c.fn.toggle,toggle:function(a,b,d){var e=typeof a==="boolean";if(c.isFunction(a)&&c.isFunction(b))this._toggle.apply(this,arguments);else a==null||e?this.each(function(){var f=e?a:c(this).is(":hidden");c(this)[f?"show":"hide"]()}):this.animate(ya("toggle",3),a,b,d);return this},fadeTo:function(a,b,d,e){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,d,e)},animate:function(a,b,d,e){function f(){g.queue===false&&c._mark(this);var l=c.extend({},g),m=this.nodeType===
170 1,n=m&&c(this).is(":hidden"),t,E,y,H,D;l.animatedProperties={};for(y in a){t=c.camelCase(y);if(y!==t){a[t]=a[y];delete a[y]}E=a[t];if(c.isArray(E)){l.animatedProperties[t]=E[1];E=a[t]=E[0]}else l.animatedProperties[t]=l.specialEasing&&l.specialEasing[t]||l.easing||"swing";if(E==="hide"&&n||E==="show"&&!n)return l.complete.call(this);if(m&&(t==="height"||t==="width")){l.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(c.css(this,"display")==="inline"&&c.css(this,"float")===
171 "none")if(!c.support.inlineBlockNeedsLayout||fb(this.nodeName)==="inline")this.style.display="inline-block";else this.style.zoom=1}}if(l.overflow!=null)this.style.overflow="hidden";for(y in a){m=new c.fx(this,l,y);E=a[y];if(Cc.test(E))if(t=c._data(this,"toggle"+y)||(E==="toggle"?n?"show":"hide":0)){c._data(this,"toggle"+y,t==="show"?"hide":"show");m[t]()}else m[E]();else{t=Dc.exec(E);H=m.cur();if(t){E=parseFloat(t[2]);D=t[3]||(c.cssNumber[y]?"":"px");if(D!=="px"){c.style(this,y,(E||1)+D);H=(E||1)/
172 m.cur()*H;c.style(this,y,H+D)}if(t[1])E=(t[1]==="-="?-1:1)*E+H;m.custom(H,E,D)}else m.custom(H,E,"")}}return true}var g=c.speed(b,d,e);if(c.isEmptyObject(a))return this.each(g.complete,[false]);a=c.extend({},a);return g.queue===false?this.each(f):this.queue(g.queue,f)},stop:function(a,b,d){if(typeof a!=="string"){d=b;b=a;a=j}if(b&&a!==false)this.queue(a||"fx",[]);return this.each(function(){function e(n,t,E){t=t[E];c.removeData(n,E,true);t.stop(d)}var f,g=false,l=c.timers,m=c._data(this);d||c._unmark(true,
173 this);if(a==null)for(f in m)m[f]&&m[f].stop&&f.indexOf(".run")===f.length-4&&e(this,m,f);else if(m[f=a+".run"]&&m[f].stop)e(this,m,f);for(f=l.length;f--;)if(l[f].elem===this&&(a==null||l[f].queue===a)){d?l[f](true):l[f].saveState();g=true;l.splice(f,1)}d&&g||c.dequeue(this,a)})}});c.each({slideDown:ya("show",1),slideUp:ya("hide",1),slideToggle:ya("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){c.fn[a]=function(d,e,f){return this.animate(b,
174 d,e,f)}});c.extend({speed:function(a,b,d){var e=a&&typeof a==="object"?c.extend({},a):{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};e.duration=c.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in c.fx.speeds?c.fx.speeds[e.duration]:c.fx.speeds._default;if(e.queue==null||e.queue===true)e.queue="fx";e.old=e.complete;e.complete=function(f){c.isFunction(e.old)&&e.old.call(this);if(e.queue)c.dequeue(this,e.queue);else f!==false&&c._unmark(this)};return e},
175 easing:{linear:function(a,b,d,e){return d+e*a},swing:function(a,b,d,e){return(-Math.cos(a*Math.PI)/2+0.5)*e+d}},timers:[],fx:function(a,b,d){this.options=b;this.elem=a;this.prop=d;b.orig=b.orig||{}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]||c.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a,b=c.css(this.elem,
176 this.prop);return isNaN(a=parseFloat(b))?!b||b==="auto"?0:b:a},custom:function(a,b,d){function e(l){return f.step(l)}var f=this,g=c.fx;this.startTime=Fa||db();this.end=b;this.now=this.start=a;this.pos=this.state=0;this.unit=d||this.unit||(c.cssNumber[this.prop]?"":"px");e.queue=this.options.queue;e.elem=this.elem;e.saveState=function(){f.options.hide&&c._data(f.elem,"fxshow"+f.prop)===j&&c._data(f.elem,"fxshow"+f.prop,f.start)};if(e()&&c.timers.push(e)&&!Ia)Ia=setInterval(g.tick,g.interval)},show:function(){var a=
177 c._data(this.elem,"fxshow"+this.prop);this.options.orig[this.prop]=a||c.style(this.elem,this.prop);this.options.show=true;a!==j?this.custom(this.cur(),a):this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c._data(this.elem,"fxshow"+this.prop)||c.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var b,d=Fa||db(),e=true,f=this.elem,g=this.options;if(a||d>=g.duration+this.startTime){this.now=
178 this.end;this.pos=this.state=1;this.update();g.animatedProperties[this.prop]=true;for(b in g.animatedProperties)if(g.animatedProperties[b]!==true)e=false;if(e){g.overflow!=null&&!c.support.shrinkWrapBlocks&&c.each(["","X","Y"],function(l,m){f.style["overflow"+m]=g.overflow[l]});g.hide&&c(f).hide();if(g.hide||g.show)for(b in g.animatedProperties){c.style(f,b,g.orig[b]);c.removeData(f,"fxshow"+b,true);c.removeData(f,"toggle"+b,true)}if(a=g.complete){g.complete=false;a.call(f)}}return false}else{if(g.duration==
179 Infinity)this.now=d;else{a=d-this.startTime;this.state=a/g.duration;this.pos=c.easing[g.animatedProperties[this.prop]](this.state,a,0,1,g.duration);this.now=this.start+(this.end-this.start)*this.pos}this.update()}return true}};c.extend(c.fx,{tick:function(){for(var a,b=c.timers,d=0;d<b.length;d++){a=b[d];!a()&&b[d]===a&&b.splice(d--,1)}b.length||c.fx.stop()},interval:13,stop:function(){clearInterval(Ia);Ia=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){c.style(a.elem,"opacity",
180 a.now)},_default:function(a){if(a.elem.style&&a.elem.style[a.prop]!=null)a.elem.style[a.prop]=a.now+a.unit;else a.elem[a.prop]=a.now}}});c.each(["width","height"],function(a,b){c.fx.step[b]=function(d){c.style(d.elem,b,Math.max(0,d.now)+d.unit)}});if(c.expr&&c.expr.filters)c.expr.filters.animated=function(a){return c.grep(c.timers,function(b){return a===b.elem}).length};var Ec=/^t(?:able|d|h)$/i,Cb=/^(?:body|html)$/i;c.fn.offset="getBoundingClientRect"in L.documentElement?function(a){var b=this[0],
181 d;if(a)return this.each(function(l){c.offset.setOffset(this,a,l)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);try{d=b.getBoundingClientRect()}catch(e){}var f=b.ownerDocument,g=f.documentElement;if(!d||!c.contains(g,b))return d?{top:d.top,left:d.left}:{top:0,left:0};b=f.body;f=Qa(f);return{top:d.top+(f.pageYOffset||c.support.boxModel&&g.scrollTop||b.scrollTop)-(g.clientTop||b.clientTop||0),left:d.left+(f.pageXOffset||c.support.boxModel&&g.scrollLeft||
182 b.scrollLeft)-(g.clientLeft||b.clientLeft||0)}}:function(a){var b=this[0];if(a)return this.each(function(E){c.offset.setOffset(this,a,E)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);var d,e=b.offsetParent,f=b,g=b.ownerDocument,l=g.documentElement,m=g.body;d=(g=g.defaultView)?g.getComputedStyle(b,null):b.currentStyle;for(var n=b.offsetTop,t=b.offsetLeft;(b=b.parentNode)&&b!==m&&b!==l;){if(c.support.fixedPosition&&d.position==="fixed")break;d=g?g.getComputedStyle(b,
183 null):b.currentStyle;n-=b.scrollTop;t-=b.scrollLeft;if(b===e){n+=b.offsetTop;t+=b.offsetLeft;if(c.support.doesNotAddBorder&&!(c.support.doesAddBorderForTableAndCells&&Ec.test(b.nodeName))){n+=parseFloat(d.borderTopWidth)||0;t+=parseFloat(d.borderLeftWidth)||0}f=e;e=b.offsetParent}if(c.support.subtractsBorderForOverflowNotVisible&&d.overflow!=="visible"){n+=parseFloat(d.borderTopWidth)||0;t+=parseFloat(d.borderLeftWidth)||0}d=d}if(d.position==="relative"||d.position==="static"){n+=m.offsetTop;t+=m.offsetLeft}if(c.support.fixedPosition&&
184 d.position==="fixed"){n+=Math.max(l.scrollTop,m.scrollTop);t+=Math.max(l.scrollLeft,m.scrollLeft)}return{top:n,left:t}};c.offset={bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;if(c.support.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.css(a,"marginTop"))||0;d+=parseFloat(c.css(a,"marginLeft"))||0}return{top:b,left:d}},setOffset:function(a,b,d){var e=c.css(a,"position");if(e==="static")a.style.position="relative";var f=c(a),g=f.offset(),l=c.css(a,"top"),m=c.css(a,"left"),n={},t={};if((e===
185 "absolute"||e==="fixed")&&c.inArray("auto",[l,m])>-1){t=f.position();e=t.top;m=t.left}else{e=parseFloat(l)||0;m=parseFloat(m)||0}if(c.isFunction(b))b=b.call(a,d,g);if(b.top!=null)n.top=b.top-g.top+e;if(b.left!=null)n.left=b.left-g.left+m;"using"in b?b.using.call(a,n):f.css(n)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),e=Cb.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.css(a,"marginTop"))||0;d.left-=parseFloat(c.css(a,
186 "marginLeft"))||0;e.top+=parseFloat(c.css(b[0],"borderTopWidth"))||0;e.left+=parseFloat(c.css(b[0],"borderLeftWidth"))||0;return{top:d.top-e.top,left:d.left-e.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||L.body;a&&!Cb.test(a.nodeName)&&c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(e){var f,g;if(e===j){f=this[0];if(!f)return null;return(g=Qa(f))?"pageXOffset"in g?g[a?"pageYOffset":
187 "pageXOffset"]:c.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:f[d]}return this.each(function(){if(g=Qa(this))g.scrollTo(!a?e:c(g).scrollLeft(),a?e:c(g).scrollTop());else this[d]=e})}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase();c.fn["inner"+b]=function(){var e=this[0];return e?e.style?parseFloat(c.css(e,d,"padding")):this[d]():null};c.fn["outer"+b]=function(e){var f=this[0];return f?f.style?parseFloat(c.css(f,d,e?"margin":"border")):this[d]():null};c.fn[d]=
188 function(e){var f=this[0];if(!f)return e==null?null:this;if(c.isFunction(e))return this.each(function(m){var n=c(this);n[d](e.call(this,m,n[d]()))});if(c.isWindow(f)){var g=f.document.documentElement["client"+b],l=f.document.body;return f.document.compatMode==="CSS1Compat"&&g||l&&l["client"+b]||g}else if(f.nodeType===9)return Math.max(f.documentElement["client"+b],f.body["scroll"+b],f.documentElement["scroll"+b],f.body["offset"+b],f.documentElement["offset"+b]);else if(e===j){f=c.css(f,d);g=parseFloat(f);
189 return c.isNumeric(g)?g:f}else return this.css(d,typeof e==="string"?e:e+"px")}});i.jQuery=i.$=c;typeof define==="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return c})})(window);var Z=jQuery;Z.noConflict();jQuery.cookie=function(i,j,q){if(typeof j!="undefined"){q=q||{};if(j===null){j="";q.expires=-1}var v="";if(q.expires&&(typeof q.expires=="number"||q.expires.toUTCString)){if(typeof q.expires=="number"){v=new Date;v.setTime(v.getTime()+q.expires*24*60*60*1E3)}else v=
190 q.expires;v="; expires="+v.toUTCString()}var p=q.path?"; path="+q.path:"",s=q.domain?"; domain="+q.domain:"";q=q.secure?"; secure":"";document.cookie=[i,"=",encodeURIComponent(j),v,p,s,q].join("")}else{j=null;if(document.cookie&&document.cookie!=""){q=document.cookie.split(";");for(v=0;v<q.length;v++){p=jQuery.trim(q[v]);if(p.substring(0,i.length+1)==i+"="&&p.match("=")){j=decodeURIComponent(p.substring(i.length+1));break}else if(!p.match("=")&&p.substring(0,i.length)==i){j="";break}}}return j}};
191 jQuery.fn.extend({elementFrame:function(){var i=jQuery(this);if(arguments.length===1){var j=arguments[0],q=j.topleft,v=j.bottomright,p=q.x,s=j.width||v.x-q.x;v=j.height||v.y-q.y;i.css("top",q.y+"px");i.css("left",p+"px");if(!j.ignoreDimensions){i.width(s);i.height(v)}i.css("zIndex",j.zIndex);return this}else{i=jQuery(this);var r=i.offset();s=i.width();v=i.height();j=i.outerWidth()||s;q=i.outerHeight()||v;p=r.left;var x=p+j;r=r.top;var C=r+q;i=i.css("z-index");return{width:s,height:v,outerWidth:j,
192 outerHeight:q,zIndex:i,topleft:{x:p,y:r},topright:{x:x,y:r},bottomleft:{x:p,y:C},bottomright:{x:x,y:C}}}},windowFrame:function(){var i=jQuery(document.body),j=0,q=jQuery(document.body).width();if(self.innerHeight)j=self.innerHeight;else if(document.documentElement&&document.documentElement.clientHeight)j=document.documentElement.clientHeight;else if(document.body)j=document.body.clientHeight;var v=parseInt(i.css("margin-left"),10),p=parseInt(i.css("margin-right"),10);i=self.pageYOffset||jQuery.boxModel&&
193 document.documentElement.scrollTop||document.body.scrollTop;var s=i+j,r=self.pageXOffset||jQuery.boxModel&&document.documentElement.scrollLeft||document.body.scrollLeft;v=r+q+p+v;p=scrollWidth=0;p=document.documentElement&&document.documentElement.scrollHeight>p?document.documentElement.scrollHeight:document.body.scrollHeight>j?document.body.scrollHeight:document.body.offsetHeight;scrollWidth=document.documentElement&&document.documentElement.scrollWidth>scrollWidth?document.documentElement.scrollWidth:
194 document.body.scrollWidth>q?document.body.scrollWidth:document.body.offsetWidth;return{width:q,height:j,scrollWidth:scrollWidth,scrollHeight:p,topleft:{x:r,y:i},topright:{x:v,y:i},bottomleft:{x:r,y:s},bottomright:{x:v,y:s}}},_availableFrameSizesHelper:function(i,j,q,v,p,s){return i===0||j===0?null:{width:i,height:j,topleft:{x:s,y:q},topright:{x:v,y:q},bottomleft:{x:s,y:p},bottomright:{x:v,y:p}}},availableFrameSizes:function(){var i=jQuery(this),j=i.elementFrame(),q=i.windowFrame(),v=q.topleft.y,p=
195 q.topleft.x;i=q.topright.x;var s=q.bottomright.y,r=j.topleft.y,x=j.bottomleft.y,C=j.topleft.x,G=j.topright.x,I=j.width,N=j.height,O=r-v;if(O<0)O=0;var Q=s-x;if(Q<0)Q=0;var P=C-p;if(P<0)P=0;var R=i-G;if(R<0)R=0;j=this._availableFrameSizesHelper(q.width,O,v,i,r,p);var ea=this._availableFrameSizesHelper(q.width,Q,x,i,s,p),ta=this._availableFrameSizesHelper(P,q.height,v,G,s,p);q=this._availableFrameSizesHelper(R,q.height,v,i,s,G);var ua=this._availableFrameSizesHelper(P,O,v,C,r,p),va=this._availableFrameSizesHelper(I,
196 O,v,G,r,C);v=this._availableFrameSizesHelper(R,O,v,i,r,G);O=this._availableFrameSizesHelper(P,Q,x,C,s,p);I=this._availableFrameSizesHelper(I,Q,x,G,s,C);s=this._availableFrameSizesHelper(R,Q,x,i,s,G);p=this._availableFrameSizesHelper(P,N,r,C,x,p);i=this._availableFrameSizesHelper(R,N,r,i,x,G);return{top:j,bottom:ea,left:ta,right:q,topleft:ua,topcenter:va,topright:v,bottomleft:O,bottomcenter:I,bottomright:s,middleleft:p,middleright:i}},elementFramePercentHidden:function(){var i=jQuery(this),j=i.windowFrame(),
197 q=i.elementFrame();i=j.topleft.y;var v=j.topleft.x,p=j.bottomright.x,s=j.bottomright.y,r=q.topleft.y,x=q.bottomleft.y,C=q.topleft.x,G=q.topright.x,I=q.outerWidth;q=q.outerHeight;var N=rPixel=tPixel=bPixel=0,O=rPercent=tPercent=bPercent=0,Q=false;v=C-v;if(v<0){Q=true;N=v*-1;O=(I+v)/I*100}v=p-G;if(v<0){Q=true;rPixel=v*-1;rPercent=100-(I+v)/I*100}v=r-i;if(v<0){Q=true;tPixel=v*-1;tPercent=(q+v)/q*100}v=s-x+(!jQuery.browser.msie&&j.scrollWidth>j.width+16?-16:0);if(v<0){Q=true;bPixel=v*-1;bPercent=100-
198 (q+v)/q*100}return{isHidden:Q,left:O,right:rPercent,top:tPercent,bottom:bPercent,pixels:{left:N,right:rPixel,top:tPixel,bottom:bPixel}}},moveFrameIntoView:function(){var i=jQuery(this),j=i.elementFramePercentHidden();if(j.isHidden){var q=j.pixels.bottom,v=j.pixels.left,p=j.pixels.right;j=j.pixels.top||-q||0;if(j!==0){j=parseInt(i.css("top"),10)+parseInt(j,10);i.css("top",j+"px")}v=v||-p||0;if(v!==0){v=parseInt(i.css("left"),10)+parseInt(v,10);i.css("left",v+"px")}}},setFramePosition:function(i,j){var q=
199 jQuery(this).css("top",-1000).css("display","block"),v=jQuery(j.element),p=q.elementFrame(),s=v.elementFrame();q.windowFrame();for(var r=q.parents().get(),x=false,C=0;C<r.length;C++)if(jQuery(r[C]).css("position")=="relative"){x=true;break}if(x)C=r=0;else{r=s.topleft.x;C=s.topleft.y}j=this._getFrameOffsetPosition(v,s.height,s.width,j.vertical,j.hortizontal);r+=j.offsetX;C+=j.offsetY;v=this._getFrameOffsetPosition(q,p.height,p.width,i.vertical,i.hortizontal);j=r+(i.customOffsetX||0)-v.offsetX;v=C+
200 (i.customOffsetY||0)-v.offsetY;if(x){j-=r;v-=C}p={topleft:{x:j,y:v},width:p.width,height:p.height,ignoreDimensions:true};x=q.css("opacity");r=q.css("filter");C=q.css("-ms-filter");q.css("opacity",0).css("filter","alpha(opacity=0)").css("-ms-filter","progid:DXImageTransform.Microsoft.Alpha(Opacity=0)").elementFrame(p);if(!i.adjustFit||i.adjustFit.toLowerCase()==="autoadjust"||i.adjustFit.toLowerCase()==="slide")q.moveFrameIntoView();q.css("display","none").css("opacity",x).css("filter",r).css("-ms-filter",
201 C);return this},_getFrameOffsetPosition:function(i,j,q,v,p){function s(C,G){if(C.indexOf("%")>0){C=parseFloat(C)/100;return Math.floor(G*C)}else return C.length>0?parseInt(C):0}var r=0,x=0;switch(v.toLowerCase()){case "top":case "t":r=parseInt(i.css("margin-top"),10)||0;break;case "middle":case "m":case "center":case "c":r=Math.floor(j/2);break;case "bottom":case "b":r=j;break;default:r=s(v,j);if(isNaN(r))r=0}switch(p.toLowerCase()){case "left":case "l":x=parseInt(i.css("margin-left"),10)||0;break;
202 case "center":case "c":x=Math.floor(q/2);break;case "right":case "r":x=q;break;default:x=s(p,q);if(isNaN(x))x=0}return{offsetX:x,offsetY:r}},centerFrameInWindow:function(){var i=jQuery(this),j=false;if(i.is(":visible").length===0){j=true;i.css("top","-10000px").css("display","block")}var q=i.elementFrame(),v=i.windowFrame();j&&i.css("display","none");j=Math.floor((v.width-q.width)/2)+v.topleft.x;v=Math.floor((v.height-q.height)/2)+v.topleft.y;i.elementFrame({topleft:{x:j,y:v},width:q.width,height:q.height,
203 ignoreDimensions:true});return this},createIE6LayerFix:function(i){if(jQuery.browser.msie&&parseInt(jQuery.browser.version,10)<7){var j=jQuery("<iframe src='javascript:\"\";' class='ui-ncbi-iframe-fix' marginwidth='0' marginheight='0' align='bottom' scrolling='no' frameborder='0'></iframe>"),q=jQuery(this).elementFrame();if(q.zIndex!=="auto"&&typeof parseInt(q.zIndex,10)==="number")q.zIndex-=1;j.elementFrame(q);i&&j.appendTo(document.body);return j}return null}});(function(i){i.fn.hoverIntent=function(j,
204 q){var v={sensitivity:7,interval:100,timeout:0};v=i.extend(v,q?{over:j,out:q}:j);var p,s,r,x,C=function(N){p=N.pageX;s=N.pageY},G=function(N,O){O.hoverIntent_t=clearTimeout(O.hoverIntent_t);if(Math.abs(r-p)+Math.abs(x-s)<v.sensitivity){i(O).unbind("mousemove",C);O.hoverIntent_s=1;return v.over.apply(O,[N])}else{r=p;x=s;O.hoverIntent_t=setTimeout(function(){G(N,O)},v.interval)}},I=function(N,O){O.hoverIntent_t=clearTimeout(O.hoverIntent_t);O.hoverIntent_s=0;return v.out.apply(O,[N])};j=function(N){for(var O=
205 (N.type=="mouseover"?N.fromElement:N.toElement)||N.relatedTarget;O&&O!=this;)try{O=O.parentNode}catch(Q){O=this}if(O==this)return false;var P=jQuery.extend({},N),R=this;if(R.hoverIntent_t)R.hoverIntent_t=clearTimeout(R.hoverIntent_t);if(N.type=="mouseover"){r=P.pageX;x=P.pageY;i(R).bind("mousemove",C);if(R.hoverIntent_s!=1)R.hoverIntent_t=setTimeout(function(){G(P,R)},v.interval)}else{i(R).unbind("mousemove",C);if(R.hoverIntent_s==1)R.hoverIntent_t=setTimeout(function(){I(P,R)},v.timeout)}};return this.mouseover(j).mouseout(j)}})(jQuery);
206 if(!this.JSON)this.JSON={};(function(){function i(G){return G<10?"0"+G:G}function j(G){p.lastIndex=0;return p.test(G)?'"'+G.replace(p,function(I){var N=x[I];return typeof N==="string"?N:"\\u"+("0000"+I.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+G+'"'}function q(G,I){var N,O,Q=s,P,R=I[G];if(R&&typeof R==="object"&&typeof R.toJSON==="function")R=R.toJSON(G);if(typeof C==="function")R=C.call(I,G,R);switch(typeof R){case "string":return j(R);case "number":return isFinite(R)?String(R):"null";case "boolean":case "null":return String(R);
207 case "object":if(!R)return"null";s+=r;P=[];if(Object.prototype.toString.apply(R)==="[object Array]"){O=R.length;for(G=0;G<O;G+=1)P[G]=q(G,R)||"null";I=P.length===0?"[]":s?"[\n"+s+P.join(",\n"+s)+"\n"+Q+"]":"["+P.join(",")+"]";s=Q;return I}if(C&&typeof C==="object"){O=C.length;for(G=0;G<O;G+=1){N=C[G];if(typeof N==="string")if(I=q(N,R))P.push(j(N)+(s?": ":":")+I)}}else for(N in R)if(Object.hasOwnProperty.call(R,N))if(I=q(N,R))P.push(j(N)+(s?": ":":")+I);I=P.length===0?"{}":s?"{\n"+s+P.join(",\n"+s)+
208 "\n"+Q+"}":"{"+P.join(",")+"}";s=Q;return I}}if(typeof Date.prototype.toJSON!=="function"){Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+i(this.getUTCMonth()+1)+"-"+i(this.getUTCDate())+"T"+i(this.getUTCHours())+":"+i(this.getUTCMinutes())+":"+i(this.getUTCSeconds())+"Z":null};String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()}}var v=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
209 p=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,s,r,x={"\u0008":"\\b","\t":"\\t","\n":"\\n","\u000c":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},C;if(typeof JSON.stringify!=="function")JSON.stringify=function(G,I,N){var O;r=s="";if(typeof N==="number")for(O=0;O<N;O+=1)r+=" ";else if(typeof N==="string")r=N;if((C=I)&&typeof I!=="function"&&(typeof I!=="object"||typeof I.length!=="number"))throw new Error("JSON.stringify");return q("",
210 {"":G})};if(typeof JSON.parse!=="function")JSON.parse=function(G,I){function N(O,Q){var P,R,ea=O[Q];if(ea&&typeof ea==="object")for(P in ea)if(Object.hasOwnProperty.call(ea,P)){R=N(ea,P);if(R!==undefined)ea[P]=R;else delete ea[P]}return I.call(O,Q,ea)}v.lastIndex=0;if(v.test(G))G=G.replace(v,function(O){return"\\u"+("0000"+O.charCodeAt(0).toString(16)).slice(-4)});if(/^[\],:{}\s]*$/.test(G.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,
211 "]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){G=eval("("+G+")");return typeof I==="function"?N({"":G},""):G}throw new SyntaxError("JSON.parse");}})();(function(i,j){function q(p,s){var r=p.nodeName.toLowerCase();if("area"===r){s=p.parentNode;r=s.name;if(!p.href||!r||s.nodeName.toLowerCase()!=="map")return false;p=i("img[usemap=#"+r+"]")[0];return!!p&&v(p)}return(/input|select|textarea|button|object/.test(r)?!p.disabled:"a"==r?p.href||s:s)&&v(p)}function v(p){return!i(p).parents().andSelf().filter(function(){return i.curCSS(this,
212 "visibility")==="hidden"||i.expr.filters.hidden(this)}).length}i.ui=i.ui||{};if(!i.ui.version){i.extend(i.ui,{version:"1.8.17",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});
213 i.fn.extend({propAttr:i.fn.prop||i.fn.attr,_focus:i.fn.focus,focus:function(p,s){return typeof p==="number"?this.each(function(){var r=this;setTimeout(function(){i(r).focus();s&&s.call(r)},p)}):this._focus.apply(this,arguments)},scrollParent:function(){var p;p=i.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(i.curCSS(this,"position",1))&&/(auto|scroll)/.test(i.curCSS(this,"overflow",
214 1)+i.curCSS(this,"overflow-y",1)+i.curCSS(this,"overflow-x",1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(i.curCSS(this,"overflow",1)+i.curCSS(this,"overflow-y",1)+i.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!p.length?i(document):p},zIndex:function(p){if(p!==j)return this.css("zIndex",p);if(this.length){p=i(this[0]);for(var s;p.length&&p[0]!==document;){s=p.css("position");if(s==="absolute"||s==="relative"||s==="fixed"){s=parseInt(p.css("zIndex"),
215 10);if(!isNaN(s)&&s!==0)return s}p=p.parent()}}return 0},disableSelection:function(){return this.bind((i.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(p){p.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});i.each(["Width","Height"],function(p,s){function r(I,N,O,Q){i.each(x,function(){N-=parseFloat(i.curCSS(I,"padding"+this,true))||0;if(O)N-=parseFloat(i.curCSS(I,"border"+this+"Width",true))||0;if(Q)N-=parseFloat(i.curCSS(I,
216 "margin"+this,true))||0});return N}var x=s==="Width"?["Left","Right"]:["Top","Bottom"],C=s.toLowerCase(),G={innerWidth:i.fn.innerWidth,innerHeight:i.fn.innerHeight,outerWidth:i.fn.outerWidth,outerHeight:i.fn.outerHeight};i.fn["inner"+s]=function(I){if(I===j)return G["inner"+s].call(this);return this.each(function(){i(this).css(C,r(this,I)+"px")})};i.fn["outer"+s]=function(I,N){if(typeof I!=="number")return G["outer"+s].call(this,I);return this.each(function(){i(this).css(C,r(this,I,true,N)+"px")})}});
217 i.extend(i.expr[":"],{data:function(p,s,r){return!!i.data(p,r[3])},focusable:function(p){return q(p,!isNaN(i.attr(p,"tabindex")))},tabbable:function(p){var s=i.attr(p,"tabindex"),r=isNaN(s);return(r||s>=0)&&q(p,!r)}});i(function(){var p=document.body,s=p.appendChild(s=document.createElement("div"));i.extend(s.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});i.support.minHeight=s.offsetHeight===100;i.support.selectstart="onselectstart"in s;p.removeChild(s).style.display="none"});i.extend(i.ui,
218 {plugin:{add:function(p,s,r){p=i.ui[p].prototype;for(var x in r){p.plugins[x]=p.plugins[x]||[];p.plugins[x].push([s,r[x]])}},call:function(p,s,r){if((s=p.plugins[s])&&p.element[0].parentNode)for(var x=0;x<s.length;x++)p.options[s[x][0]]&&s[x][1].apply(p.element,r)}},contains:function(p,s){return document.compareDocumentPosition?p.compareDocumentPosition(s)&16:p!==s&&p.contains(s)},hasScroll:function(p,s){if(i(p).css("overflow")==="hidden")return false;s=s&&s==="left"?"scrollLeft":"scrollTop";var r=
219 false;if(p[s]>0)return true;p[s]=1;r=p[s]>0;p[s]=0;return r},isOverAxis:function(p,s,r){return p>s&&p<s+r},isOver:function(p,s,r,x,C,G){return i.ui.isOverAxis(p,r,C)&&i.ui.isOverAxis(s,x,G)}})}})(jQuery);(function(i,j){if(i.cleanData){var q=i.cleanData;i.cleanData=function(p){for(var s=0,r;(r=p[s])!=null;s++)try{i(r).triggerHandler("remove")}catch(x){}q(p)}}else{var v=i.fn.remove;i.fn.remove=function(p,s){return this.each(function(){if(!s)if(!p||i.filter(p,[this]).length)i("*",this).add([this]).each(function(){try{i(this).triggerHandler("remove")}catch(r){}});
220 return v.call(i(this),p,s)})}}i.widget=function(p,s,r){var x=p.split(".")[0],C;p=p.split(".")[1];C=x+"-"+p;if(!r){r=s;s=i.Widget}i.expr[":"][C]=function(G){return!!i.data(G,p)};i[x]=i[x]||{};i[x][p]=function(G,I){arguments.length&&this._createWidget(G,I)};s=new s;s.options=i.extend(true,{},s.options);i[x][p].prototype=i.extend(true,s,{namespace:x,widgetName:p,widgetEventPrefix:i[x][p].prototype.widgetEventPrefix||p,widgetBaseClass:C},r);i.widget.bridge(p,i[x][p])};i.widget.bridge=function(p,s){i.fn[p]=
221 function(r){var x=typeof r==="string",C=Array.prototype.slice.call(arguments,1),G=this;r=!x&&C.length?i.extend.apply(null,[true,r].concat(C)):r;if(x&&r.charAt(0)==="_")return G;x?this.each(function(){var I=i.data(this,p),N=I&&i.isFunction(I[r])?I[r].apply(I,C):I;if(N!==I&&N!==j){G=N;return false}}):this.each(function(){var I=i.data(this,p);I?I.option(r||{})._init():i.data(this,p,new s(r,this))});return G}};i.Widget=function(p,s){arguments.length&&this._createWidget(p,s)};i.Widget.prototype={widgetName:"widget",
222 widgetEventPrefix:"",options:{disabled:false},_createWidget:function(p,s){i.data(s,this.widgetName,this);this.element=i(s);this.options=i.extend(true,{},this.options,this._getCreateOptions(),p);var r=this;this.element.bind("remove."+this.widgetName,function(){r.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return i.metadata&&i.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+
223 this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(p,s){var r=p;if(arguments.length===0)return i.extend({},this.options);if(typeof p==="string"){if(s===j)return this.options[p];r={};r[p]=s}this._setOptions(r);return this},_setOptions:function(p){var s=this;i.each(p,function(r,x){s._setOption(r,x)});return this},_setOption:function(p,
224 s){this.options[p]=s;if(p==="disabled")this.widget()[s?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",s);return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(p,s,r){var x,C=this.options[p];r=r||{};s=i.Event(s);s.type=(p===this.widgetEventPrefix?p:this.widgetEventPrefix+p).toLowerCase();s.target=this.element[0];if(p=s.originalEvent)for(x in p)x in s||
225 (s[x]=p[x]);this.element.trigger(s,r);return!(i.isFunction(C)&&C.call(this.element[0],s,r)===false||s.isDefaultPrevented())}}})(jQuery);(function(i){var j=false;i(document).mouseup(function(){j=false});i.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var q=this;this.element.bind("mousedown."+this.widgetName,function(v){return q._mouseDown(v)}).bind("click."+this.widgetName,function(v){if(true===i.data(v.target,q.widgetName+".preventClickEvent")){i.removeData(v.target,
226 q.widgetName+".preventClickEvent");v.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(q){if(!j){this._mouseStarted&&this._mouseUp(q);this._mouseDownEvent=q;var v=this,p=q.which==1,s=typeof this.options.cancel=="string"&&q.target.nodeName?i(q.target).closest(this.options.cancel).length:false;if(!p||s||!this._mouseCapture(q))return true;this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet)this._mouseDelayTimer=
227 setTimeout(function(){v.mouseDelayMet=true},this.options.delay);if(this._mouseDistanceMet(q)&&this._mouseDelayMet(q)){this._mouseStarted=this._mouseStart(q)!==false;if(!this._mouseStarted){q.preventDefault();return true}}true===i.data(q.target,this.widgetName+".preventClickEvent")&&i.removeData(q.target,this.widgetName+".preventClickEvent");this._mouseMoveDelegate=function(r){return v._mouseMove(r)};this._mouseUpDelegate=function(r){return v._mouseUp(r)};i(document).bind("mousemove."+this.widgetName,
228 this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);q.preventDefault();return j=true}},_mouseMove:function(q){if(i.browser.msie&&!(document.documentMode>=9)&&!q.button)return this._mouseUp(q);if(this._mouseStarted){this._mouseDrag(q);return q.preventDefault()}if(this._mouseDistanceMet(q)&&this._mouseDelayMet(q))(this._mouseStarted=this._mouseStart(this._mouseDownEvent,q)!==false)?this._mouseDrag(q):this._mouseUp(q);return!this._mouseStarted},_mouseUp:function(q){i(document).unbind("mousemove."+
229 this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;q.target==this._mouseDownEvent.target&&i.data(q.target,this.widgetName+".preventClickEvent",true);this._mouseStop(q)}return false},_mouseDistanceMet:function(q){return Math.max(Math.abs(this._mouseDownEvent.pageX-q.pageX),Math.abs(this._mouseDownEvent.pageY-q.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},
230 _mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return true}})})(jQuery);(function(i){i.ui=i.ui||{};var j=/left|center|right/,q=/top|center|bottom/,v={},p=i.fn.position,s=i.fn.offset;i.fn.position=function(r){if(!r||!r.of)return p.apply(this,arguments);r=i.extend({},r);var x=i(r.of),C=x[0],G=(r.collision||"flip").split(" "),I=r.offset?r.offset.split(" "):[0,0],N,O,Q;if(C.nodeType===9){N=x.width();O=x.height();Q={top:0,left:0}}else if(C.setTimeout){N=x.width();O=x.height();
231 Q={top:x.scrollTop(),left:x.scrollLeft()}}else if(C.preventDefault){r.at="left top";N=O=0;Q={top:r.of.pageY,left:r.of.pageX}}else{N=x.outerWidth();O=x.outerHeight();Q=x.offset()}i.each(["my","at"],function(){var P=(r[this]||"").split(" ");if(P.length===1)P=j.test(P[0])?P.concat(["center"]):q.test(P[0])?["center"].concat(P):["center","center"];P[0]=j.test(P[0])?P[0]:"center";P[1]=q.test(P[1])?P[1]:"center";r[this]=P});if(G.length===1)G[1]=G[0];I[0]=parseInt(I[0],10)||0;if(I.length===1)I[1]=I[0];I[1]=
232 parseInt(I[1],10)||0;if(r.at[0]==="right")Q.left+=N;else if(r.at[0]==="center")Q.left+=N/2;if(r.at[1]==="bottom")Q.top+=O;else if(r.at[1]==="center")Q.top+=O/2;Q.left+=I[0];Q.top+=I[1];return this.each(function(){var P=i(this),R=P.outerWidth(),ea=P.outerHeight(),ta=parseInt(i.curCSS(this,"marginLeft",true))||0,ua=parseInt(i.curCSS(this,"marginTop",true))||0,va=R+ta+(parseInt(i.curCSS(this,"marginRight",true))||0),Ea=ea+ua+(parseInt(i.curCSS(this,"marginBottom",true))||0),fa=i.extend({},Q),Ba;if(r.my[0]===
233 "right")fa.left-=R;else if(r.my[0]==="center")fa.left-=R/2;if(r.my[1]==="bottom")fa.top-=ea;else if(r.my[1]==="center")fa.top-=ea/2;if(!v.fractions){fa.left=Math.round(fa.left);fa.top=Math.round(fa.top)}Ba={left:fa.left-ta,top:fa.top-ua};i.each(["left","top"],function(xa,Oa){i.ui.position[G[xa]]&&i.ui.position[G[xa]][Oa](fa,{targetWidth:N,targetHeight:O,elemWidth:R,elemHeight:ea,collisionPosition:Ba,collisionWidth:va,collisionHeight:Ea,offset:I,my:r.my,at:r.at})});i.fn.bgiframe&&P.bgiframe();P.offset(i.extend(fa,
234 {using:r.using}))})};i.ui.position={fit:{left:function(r,x){var C=i(window);C=x.collisionPosition.left+x.collisionWidth-C.width()-C.scrollLeft();r.left=C>0?r.left-C:Math.max(r.left-x.collisionPosition.left,r.left)},top:function(r,x){var C=i(window);C=x.collisionPosition.top+x.collisionHeight-C.height()-C.scrollTop();r.top=C>0?r.top-C:Math.max(r.top-x.collisionPosition.top,r.top)}},flip:{left:function(r,x){if(x.at[0]!=="center"){var C=i(window);C=x.collisionPosition.left+x.collisionWidth-C.width()-
235 C.scrollLeft();var G=x.my[0]==="left"?-x.elemWidth:x.my[0]==="right"?x.elemWidth:0,I=x.at[0]==="left"?x.targetWidth:-x.targetWidth,N=-2*x.offset[0];r.left+=x.collisionPosition.left<0?G+I+N:C>0?G+I+N:0}},top:function(r,x){if(x.at[1]!=="center"){var C=i(window);C=x.collisionPosition.top+x.collisionHeight-C.height()-C.scrollTop();var G=x.my[1]==="top"?-x.elemHeight:x.my[1]==="bottom"?x.elemHeight:0,I=x.at[1]==="top"?x.targetHeight:-x.targetHeight,N=-2*x.offset[1];r.top+=x.collisionPosition.top<0?G+I+
236 N:C>0?G+I+N:0}}}};if(!i.offset.setOffset){i.offset.setOffset=function(r,x){if(/static/.test(i.curCSS(r,"position")))r.style.position="relative";var C=i(r),G=C.offset(),I=parseInt(i.curCSS(r,"top",true),10)||0,N=parseInt(i.curCSS(r,"left",true),10)||0;G={top:x.top-G.top+I,left:x.left-G.left+N};"using"in x?x.using.call(r,G):C.css(G)};i.fn.offset=function(r){var x=this[0];if(!x||!x.ownerDocument)return null;if(r)return this.each(function(){i.offset.setOffset(this,r)});return s.call(this)}}(function(){var r=
237 document.getElementsByTagName("body")[0],x=document.createElement("div"),C,G;C=document.createElement(r?"div":"body");G={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"};r&&jQuery.extend(G,{position:"absolute",left:"-1000px",top:"-1000px"});for(var I in G)C.style[I]=G[I];C.appendChild(x);G=r||document.documentElement;G.insertBefore(C,G.firstChild);x.style.cssText="position: absolute; left: 10.7432222px; top: 10.432325px; height: 30px; width: 201px;";x=i(x).offset(function(N,
238 O){return O}).offset();C.innerHTML="";G.removeChild(C);r=x.top+x.left+(r?2E3:0);v.fractions=r>21&&r<22})()})(jQuery);if(typeof jQuery.ui.jig==="undefined")jQuery.ui.jig={};jQuery.ui.jig._decodeJSON=function(i){try{return eval("({"+i+"})")}catch(j){jQuery.ui.jig._isConsole("error")&&console.error("Error parsing jig metatag, or jig-dataconfig. Problem with JSON string: '"+i+"'. Error: "+j.message+".")}};jQuery.ui.jig._setLocalConfig=function(i,j){if(i=i.attr("config")){i=jQuery.ui.jig._decodeJSON(i);
239 jQuery.extend(j,i)}return j};jQuery.ui.jig._generateId=function(i,j){j=typeof j!=="undefined"?"-"+j:"";arguments.callee.i++;for(var q="ui-"+i+j+"-"+arguments.callee.i;document.getElementById(q);){arguments.callee.i++;q="ui-"+i+j+arguments.callee.i}return q};jQuery.ui.jig._generateId.i=0;jQuery.ui.jig._isConsole=function(i){var j=typeof window.console!=="undefined"||false;if(j)var q=typeof window.console[i]!=="undefined"||false;return j&&q?true:false};jQuery.ui.jig._getFncFromStr=function(i){var j=
240 null,q=typeof i;if(q==="function")j=i;else if(q==="string"){i=i.replace(/^[^:]*:\s*/,"").replace(/\s*$/,"").split(".");if(j=window[i[0]])for(q=1;q<i.length;q++){j=j[i[q]];if(!j){j=null;break}}else j=null}return j};jQuery.ui.jig.registerPageHeightWatcher=function(){var i=jQuery(document.body);if(!i.data("hasHeightWatcher")){i.data("_lastHeight",null);i.data("hasHeightWatcher",true);i.data("heightWatcher",window.setInterval(function(){jQuery.ui.jig.watchPageHeight()},250))}};jQuery.ui.jig.watchPageHeight=
241 function(){var i=jQuery(document.body),j=i.height(),q=i.data("_lastHeight");if(q!==j){q&&i.trigger("ncbijigpageheightchanged");i.data("_lastHeight",j)}};jQuery.ui.jig.requiresLoginURL="/account/signin/?inlinelogin=true";jQuery.ui.jig.requiresLoginWidth=440;jQuery.ui.jig.requiresLoginHeight=540;jQuery.ui.jig.embeddedIframe=null;jQuery.ui.jig._requiresLoginIframe=null;jQuery.ui.jig.requiresLogin=function(i){function j(){i&&i(Ka(),false)}function q(){if(!jQuery.ui.jig.embeddedIframe){var v=jQuery.ui.jig.requiresLoginWidth,
242 p=jQuery.ui.jig.requiresLoginHeight,s=jQuery('<div style="display:none"><a href="#jig-ncbi_requires_login">Inline Login Component</a></div><div id="jig-ncbi_requires_login" title="My NCBI Sign In"><iframe style="width:100%;height:100%;" src="'+jQuery.ui.jig.requiresLoginURL+'"></iframe></div>').css("display","none").appendTo(document.body,true);s.find("a").attr("href","#jig-ncbi_requires_login").ncbidialog({width:v,height:p}).ncbidialog("open");jQuery.ui.jig._requiresLoginIframe=s;jQuery.ui.jig.waitForLoginCookie(function(r){var x=
243 r||Ka()||" ";try{jQuery("#myncbiusername").show();jQuery("#mnu").html(x);jQuery("#sign_in").hide();jQuery("#sign_out, #myncbi").show();s.find("a:eq(0)").ncbidialog("close");document.body.removeChild(s.get(0))}catch(C){}i&&i(r,true,window.location.href)})}}jQuery.ui.jig._requiresLoginIframe&&jQuery.ui.jig._requiresLoginIframe.hide().remove();jQuery.ui.jig.checkIfLoggedIn(j,q)};jQuery.ui.jig.getElementWidgets=function(i,j){i=jQuery(i).data();var q=[];for(var v in i)i[v]instanceof jQuery.ui[j]&&q.push(i[v]);
244 return q};jQuery.ui.jig._isLoggedIn=null;jQuery.ui.jig.checkIfLoggedIn=function(i,j){var q=jQuery.ui.jig._isLoggedIn;Ka()===null?j():window.setTimeout(function(){q===null?jQuery.ajax({url:"https://"+window.location.hostname+(window.location.port?":"+window.location.port:"")+"/account/ajax/issignedin/?callback=?",dataType:"jsonp",jsonpCallback:"issignedin",cache:false,success:function(v){v=v&&v.is_signed_in;jQuery.ui.jig._isLoggedIn=v;jQuery.ui.jig._checkIfLoggedInNotify(v,i,j)},error:function(){jQuery.ui.jig._isLoggedIn=
245 null;jQuery.ui.jig._checkIfLoggedInNotify(false,i,j)}}):jQuery.ui.jig._checkIfLoggedInNotify(q,i,j)},50)};jQuery.ui.jig._autoCheckState=function(){function i(){jQuery.ui.jig.checkIfLoggedIn(jQuery.ui.jig._autoCheckState,jQuery.ui.jig._autoCheckState)}jQuery.ui.jig._autoCheckStateTimer&&window.clearTimeout(jQuery.ui.jig._autoCheckStateTimer);jQuery.ui.jig._isLoggedIn=null;jQuery.ui.jig._autoCheckStateTimer=window.setTimeout(i,6E5)};jQuery.ui.jig._checkIfLoggedInNotify=function(i,j,q){if(i&&j)j();else!i&&
246 q&&q();i||jQuery.ui.jig._removeLoggedInFlag()};jQuery.ui.jig.waitForLoginCookie_logincheck=false;jQuery.ui.jig.waitForLoginCookie=function(i){var j=function(){var q=jQuery.cookie("WebCubbyUser");q&&q.indexOf("logged-in=true")>-1?window.setTimeout(i,30):window.setTimeout(j,10)};if(jQuery.ui.jig.waitForLoginCookie_logincheck&&jQuery.ui.jig._isLoggedIn===null)jQuery.ui.jig._isLoggedIn_wait(j);else{jQuery.ui.jig.waitForLoginCookie_logincheck=true;window.setTimeout(function(){jQuery.ui.jig.checkIfLoggedIn(j,
247 j)},50)}};jQuery.ui.jig._isLoggedIn_wait=function(i){jQuery.ui.jig._isLoggedIn!==null?i():window.setTimeout(function(){jQuery.ui.jig._isLoggedIn_wait(i)},10)};jQuery.ui.jig._removeLoggedInFlag=function(){var i=jQuery.cookie("WebCubbyUser");if(i&&i.indexOf("logged-in=true")>-1){var j=jQuery.cookie("lout");if(!(j&&new Date-parseInt(j,10)<1E4)){i=i.replace("logged-in=true","logged-in=false");jQuery.cookie("WebCubbyUser",i,{path:"/",domain:".nih.gov"});jQuery.cookie("lout",(new Date).getTime())}}};(function(){jQuery(window).load(function(){jQuery.ui.jig.hasOnloadFired=
248 true});jQuery.ui.jig.hasOnloadFired=false})();var ja=Z.ui;if(typeof ja.jig==="undefined")ja.jig={};var Y=ja.jig;document.location.search.search(/jig_debug=true/i)!==-1&&typeof window.console==="undefined"&&Z(function(){Z("body").prepend('<div style="border: 2px solid #ccc; height: 150px; overflow:auto;"><h2 style="color:red">jig Console</h2><ul id="jig-cons"></ul></div>');console={};for(var i=["log","info","warn","group","groupEnd"],j=function(p){Z("#jig-cons").append("<li>"+p+"</li>")},q=0;q<i.length;q++){var v=
249 i[q];if(typeof console[v]==="undefined")console[v]=j}});document.compatMode==="BackCompat"&&Y._isConsole("warn")&&console.warn("Document is in quirks mode. jig widgets only work properly when in standards mode. Please add or correct your DOCTYPE definition in your page.");Y.scanned=false;Y.version="1.12.1";Y._jsExt=null;Y._cssExt=null;Y._foundWidgets={};Y._widgDict={ncbiaccordion:new W({name:"ncbiaccordion",selector:"div.jig-ncbiaccordion, div.jig-accordion",overrideDefaults:{autoHeight:false,header:":header"}}),
250 ncbibutton:new W({name:"ncbibutton",selector:".jig-ncbibutton, .jig-ncbibutton-gray, .jig-ncbibutton-blue, .jig-ncbibutton-copper",interactions:["button"]}),ncbibuttonset:new W({name:"ncbibuttonset",selector:".jig-ncbibuttonset"}),ncbibasicmenu:new W({name:"ncbibasicmenu",selector:".jig-ncbibasicmenu"}),ncbimenu:new W({name:"ncbimenu",selector:"ul.jig-ncbimenu",dependsOn:["ncbibasicmenu"]}),ncbilocalnav:new W({name:"ncbilocalnav",selector:"ul.jig-ncbilocalnav",dependsOn:["ncbimenu"]}),ncbidatepicker:new W({name:"ncbidatepicker",
251 selector:"input.jig-ncbidatepicker"}),ncbielastictextarea:new W({name:"ncbielastictextarea",selector:"textarea.jig-ncbielastictextarea"}),ncbidialog:new W({name:"ncbidialog",selector:"a.jig-ncbidialog, button.jig-ncbidialog, input.jig-ncbidialog, textarea.jig-ncbidialog",interactions:["draggable","resizable"],overrideDefaults:{autoOpen:false}}),ncbiautocomplete:new W({name:"ncbiautocomplete",selector:'input[type="text"].jig-ncbiautocomplete,input[type="search"].jig-ncbiautocomplete'}),ncbigrid:new W({name:"ncbigrid",
252 selector:"div.jig-ncbigrid table,div.jig-ncbigrid-scroll table,table.jig-ncbigrid,table.jig-ncbigrid-scroll",dependsOn:["ncbipopper"]}),ncbiservergrid:new W({name:"ncbiservergrid",selector:"div.jig-ncbiservergrid table,div.jig-ncbiservergrid-scroll table,table.jig-ncbiservergrid,table.jig-ncbiservergrid-scroll",dependsOn:["ncbigrid"]}),ncbilinkedselects:new W({name:"ncbilinkedselects",selector:"select.jig-ncbilinkedselects"}),ncbipopper:new W({name:"ncbipopper",selector:".jig-ncbipopper",dependsOn:["ncbibutton"]}),
253 ncbislideshow:new W({name:"ncbislideshow",selector:"div.jig-ncbislideshow"}),ncbitoggler:new W({name:"ncbitoggler",selector:"a.jig-ncbitoggler,a.jig-ncbitoggler-open,a.ui-ncbitoggler,a.ui-ncbitoggler-open"}),ncbitree_base:new W({name:"ncbitree_base",selector:"ul.jig-ncbitree_base"}),ncbitree:new W({name:"ncbitree",selector:"ul.jig-ncbitree",dependsOn:["ncbitree_base"]}),ncbitabs:new W({name:"ncbitabs",selector:"div.jig-ncbitabs, div.jig-tabs, "}),ncbilinksmenu:new W({name:"ncbilinksmenu",selector:".jig-ncbilinksmenu",
254 dependsOn:["ncbipopper"]}),ncbiclearbutton:new W({name:"ncbiclearbutton",selector:".jig-ncbiclearbutton"}),ncbiplaceholder:new W({name:"ncbiplaceholder",selector:"input[placeholder], textarea[placeholder]"}),ncbiexpander:new W({name:"ncbiexpander",selector:".jig-ncbiexpander"}),ncbiselect:new W({name:"ncbiselect",selector:".jig-ncbiselect"}),ncbiinpagenav:new W({name:"ncbiinpagenav",selector:".jig-ncbiinpagenav"}),ncbismoothscroll:new W({name:"ncbismoothscroll",selector:".jig-ncbismoothscroll"}),
255 ncbispinbox:new W({name:"ncbispinbox",selector:'[type="number"]'}),ncbiformvalidator:new W({name:"ncbiformvalidator",selector:"form"}),ncbihelppopper:new W({name:"ncbihelppopper",selector:".jig-ncbihelppopper"}),ncbihelpwindow:new W({name:"ncbihelpwindow",selector:"a.jig-ncbihelpwindow"}),ncbiautofocus:new W({name:"ncbiautofocus",selector:".jig-ncbiautofocus"}),ncbihistogram:new W({name:"ncbihistogram",selector:".jig-ncbihistogram"}),ncbisetswitch:new W({name:"ncbisetswitch",selector:".jig-ncbisetswitch",
256 dependsOn:["ncbilinksmenu"]}),ncbiexternallink:new W({name:"ncbiexternallink",selector:"body",dependsOn:["ncbipopper"]}),ncbiactivevalidation:new W({name:"ncbiactivevalidation",selector:".jig-ncbiactivevalidation"})};var qa=Y._widgDict,Ca=[];for(var ka in qa)Ca.push(ka);var Fc=["draggable","resizable","sortable"];Y.scanjig=function(i,j){var q,v;if(j){v=j.widgets||Ca;q=j.configs||{}}else{q={};v=Ca}for(var p=0;p<v.length;p++){i=i||Z(document.body);var s=v[p];if(!(Ja&&Z.inArray(s,Xa)===-1)){var r=ja[s];
257 if(typeof r==="undefined"&&!Y.scanned)Y._isConsole("warn")&&console.warn('jig: widget "'+s+'" does not exist. Check documentation (http://iwebdev/core/jig/ for correct name');else{!Y.scanned&&typeof r._customLocalConfig==="undefined"&&function(I,N,O){I.prototype._create=function(){var Q;(Q=this.element.attr("config"))&&Z.ui.jig._isConsole("warn")&&console.warn('The use of the "config" attribute to set options on '+O+' is deprecated. Use "data-jigconfig" instead.');Q||(Q=this.element.data("jigconfig"));
258 if(Q){Q=typeof Q==="string"?ja.jig._decodeJSON(Q):Q;Z.extend(this.options,Q)}if(O==="droppable"){jQuery(this.options.dragEls);var P=qa.droppable.callbacks[this.options.dropCallback];typeof P!=="undefined"&&this._setData("drop",function(){P()})}if((Q=qa[O].interactions||null)&&Q.length>0){Q="";if(this.options.draggable&&!ja.draggable)Q+='<script type="text/javascript" src="/core/ui/'+ja.version+'/development-bundle/ui/jquery.ui.draggable.js"><\/script>';if(this.options.resizable&&!ja.resizable)Q+=
259 '<script type="text/javascript" src="/core/ui/'+ja.version+'/development-bundle/ui/jquery.ui.resizable.js"><\/script>';Z("head").append(Q)}N.apply(this,[]);Y._foundWidgets[O]=(Y._foundWidgets[O]||0)+1}}(r,r.prototype._create,s);(function(I){r.getSelector=function(){return qa[I].selector}})(s);j={};for(var x in q)if(x===s)j=q[x];var C=Gc(Hc(s))||{};if(typeof C.contextNode!=="undefined")i=Z(C.contextNode);var G=jQuery.extend(C,j);j=qa[s].overrideDefaults;typeof j!=="undefined"&&Z.extend(G,j);j=ja[s].getSelector();
260 C=Z(i);j=C.is(j)?C:C.find(j);j.length>0&&j.each(function(){var I=jQuery(this);if(!I.data("jigscanned"+s)){I.data("jigscanned"+s,true);I[s](G)}})}}}Y.scanned=true};Y.scan=Y.scanjig;var ha=["after","before","append","html","prepend"];for(ka=0;ka<ha.length;ka++){var Da=ha[ka];origMethod=Z.fn[Da];(function(i,j){Z.fn[j]=function(q,v){q=i.apply(this,[q]);if(v)j!=="after"&&j!=="before"?Z.ui.jig.scan(q,v):Z.ui.jig.scan(q.parent(),v);return q}})(origMethod,Da)}var Ic=/(.*\/)?js\/jig(?:\.nojquery)?(\.min)?\.js$/;
261 Z("script").each(function(){var i=Z(this);if(i=Z.trim(i.attr("src")))if(i=i.match(Ic)){Y._baseURL=i[1]||"";if(i[2]===".min"){Y._isMin=true;Y._jsExt=".min.js";Y._cssExt=".min.css"}else{Y._isMin=false;Y._jsExt=".js";Y._cssExt=".css"}return false}});var pa=Y._baseURL;pa=Y._baseURL;var Ma=Y._jsExt,La=Y._cssExt,Hc=function(i){var j=Ya.length;if(j>0)for(var q=0;q<j;q++){var v=Ya[q],p=Z.trim(v.getAttribute("name"));if(i===p)return v}},Gc=function(i){i=Z(i);var j=i.attr("content");if(j){i.attr("name");return ja.jig._decodeJSON(j)}},
262 Jc=function(i){document.write('<link type="text/css" rel="stylesheet" href="'+pa+"css/jquery.ui."+i+La+'"/>')},Db=function(i){document.write('<script type="text/javascript" src="'+pa+"js/jquery.ui."+i+Ma+'"><\/script>')};ka=function(){Db("widgets");Jc("widgets");Z(document).ready(function(){Y.scan()})};document.write('<link rel="stylesheet" type="text/css" href="'+pa+"css/jig.core.theme"+La+'"/>');var Ja=null,Ya=[];Z("head").find("meta").each(function(){var i=Z.trim(Z(this).attr("name"));if(i.search(/^jig$/)!==
263 -1)Ja=this;Z.inArray(i,Ca)!==-1&&Ya.push(this)});if(Ja){var Xa=Ja.getAttribute("content").split(/ +|, ?|;/),Eb=[];for(ka=0;ka<Xa.length;ka++){ha=Xa[ka];Da=Z.inArray(ha,Ca)!==-1?true:false;var Fb=Z.inArray(ha,Fc)!==-1?true:false;if(!Da&&!Fb){ha='jig error: No widget with the name "'+ha+'". Check documentation at http://iwebdev/core/jig for proper name, and set meta tag accordingly';typeof window.console!=="undefined"&&typeof console.warn!=="undefined"?console.warn(ha):alert(ha)}else{if(Da){Eb.push(ha);
264 qa[ha].addToPage()}Fb&&Db(ha)}}Z(function(){Y.scan(null,{widgets:Eb})})}else ka();window.location.host.indexOf("http://dev")!==-1&&jQuery(window).load(function(){if(typeof ncbi!=="undefined"&&ncbi.sg){Y._foundWidgets.jigwidgets="dev";Y._foundWidgets.jigversion=Y.version;ncbi.sg.ping(Y._foundWidgets)}})}})();